5 Answers, 1 is accepted
0
Hi MOHAMMAD,
Please examine the attached project and let me know if it helps.
Greetings,
Kiril Stanoev
the Telerik team
Please examine the attached project and let me know if it helps.
Greetings,
Kiril Stanoev
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0
MOHAMMAD
Top achievements
Rank 1
answered on 28 May 2011, 05:48 PM
Thanks a lot it solve most of the problem, But i still can't know if i can go back
or foreword (for the purpose of enable and disable the buttons)
or foreword (for the purpose of enable and disable the buttons)
0
Hello MOHAMMAD,
Greetings,
Kiril Stanoev
the Telerik team
Here you can see the methods and properties which the History object supports. There is a neat property called Length which you can use in this particular scenario to check the size of the history.
private
void
Back_Click(
object
sender, RoutedEventArgs e)
{
string
historyCountCode =
"document.getElementById('myIFrame').contentWindow.history.length;"
;
object
historyCount = HtmlPage.Window.Eval(historyCountCode);
if
(Convert.ToInt16(historyCount) > 0)
{
// Code to be executed
string
code =
"document.getElementById('myIFrame').contentWindow.history.back();"
;
HtmlPage.Window.Eval(code);
}
else
{
MessageBox.Show(
"History is empty"
);
}
}
Greetings,
Kiril Stanoev
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0
Kenz
Top achievements
Rank 1
answered on 06 Jan 2012, 02:57 PM
Hi,
i've examined this topic..
but what i want is playing with absolute URLs..
Don't want to add html pages in a folder..(or i can add them and give them a quick ridirect ability)
Btw Urls' total numbers are fixed.(9 links)
Can u plz attach an example or help me how to do?
Best regards..
i've examined this topic..
but what i want is playing with absolute URLs..
Don't want to add html pages in a folder..(or i can add them and give them a quick ridirect ability)
Btw Urls' total numbers are fixed.(9 links)
Can u plz attach an example or help me how to do?
Best regards..
0
Hi Kazim,
I've posted an answer to your other forum thread.
Regards,
Kiril Stanoev
the Telerik team
I've posted an answer to your other forum thread.
Regards,
Kiril Stanoev
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>