page redirects on ASPxMenu

Thread Solved

Join Date: Jul 2009
Posts: 3
Reputation: mthobisil is an unknown quantity at this point 
Solved Threads: 0
mthobisil mthobisil is offline Offline
Newbie Poster

page redirects on ASPxMenu

 
0
  #1
Jul 14th, 2009
Hi,

im doing a website with master page, i hide and show some images every now and then on the master page, when i hide and show without redirecting to another page it doesnt give me any problems, but when i navigate to another page i lose the hide and show changes, so nothing happens on my images, but yet it redirects to another page i used the NavigateUrl="page.aspx" from the ASPxMenu to redirect and i need to trigger an event on the ASPxMenu items that will do the hide/show, i also tried javascript and i got the problem when i do the redirect nothing happens on the masterpage

can anyone help!!
Reply With Quote Quick reply to this message  
Join Date: May 2009
Posts: 186
Reputation: jbisono is an unknown quantity at this point 
Solved Threads: 24
jbisono's Avatar
jbisono jbisono is online now Online
Junior Poster

Re: page redirects on ASPxMenu

 
0
  #2
Jul 14th, 2009
Im not quite sure what is your problem, but did you try Response.Redirect(String URL);
If your already resolved your issue, flag it as solved.
José Bisonó
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 10
Reputation: rafaelbelliard is an unknown quantity at this point 
Solved Threads: 4
rafaelbelliard's Avatar
rafaelbelliard rafaelbelliard is offline Offline
Newbie Poster

Re: page redirects on ASPxMenu

 
0
  #3
Jul 14th, 2009
Originally Posted by mthobisil View Post
Hi,

im doing a website with master page, i hide and show some images every now and then on the master page, when i hide and show without redirecting to another page it doesnt give me any problems, but when i navigate to another page i lose the hide and show changes, so nothing happens on my images, but yet it redirects to another page i used the NavigateUrl="page.aspx" from the ASPxMenu to redirect and i need to trigger an event on the ASPxMenu items that will do the hide/show, i also tried javascript and i got the problem when i do the redirect nothing happens on the masterpage

can anyone help!!
What you want is to open a certain page with certain conditions (image1 displayed, image2 hidden, and such)? What you'd have to do is redirect to the desired page with the parameters for the next page:
http://www.codeproject.com/KB/aspnet/QueryString.aspx
http://aspnet.4guysfromrolla.com/articles/020205-1.aspx

Where your parameters for Form2.aspx would be "hide this image, show this panel, say niceMessage".
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 3
Reputation: mthobisil is an unknown quantity at this point 
Solved Threads: 0
mthobisil mthobisil is offline Offline
Newbie Poster

Re: page redirects on ASPxMenu

 
0
  #4
Jul 15th, 2009
Hi there, here is an example, lets say you have two images on the master page namely picHide and picShow, and you have hidden.aspx and shown.aspx, the pics are both shown when the page loads, if you click picHide then the hidden.aspx page should show up and the picHide should be invisible, so you click a pic and it redirects to related page and it hides the pic.

i hope you understand.

thanks in advance,
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 3
Reputation: mthobisil is an unknown quantity at this point 
Solved Threads: 0
mthobisil mthobisil is offline Offline
Newbie Poster

Re: page redirects on ASPxMenu

 
0
  #5
Jul 15th, 2009
thanks it worked, i used the QueryString as suggested on the below link.
http://www.codeproject.com/KB/aspnet/QueryString.aspx
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC