943,779 Members | Top Members by Rank

Ad:
  • ASP Discussion Thread
  • Marked Solved
  • Views: 1232
  • ASP RSS
Jul 14th, 2009
0

page redirects on ASPxMenu

Expand 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!!
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mthobisil is offline Offline
3 posts
since Jul 2009
Jul 14th, 2009
0

Re: page redirects on ASPxMenu

Im not quite sure what is your problem, but did you try Response.Redirect(String URL);
Reputation Points: 56
Solved Threads: 56
Posting Pro in Training
jbisono is offline Offline
432 posts
since May 2009
Jul 14th, 2009
0

Re: page redirects on ASPxMenu

Click to Expand / Collapse  Quote originally posted by mthobisil ...
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".
Reputation Points: 10
Solved Threads: 4
Newbie Poster
rafaelbelliard is offline Offline
10 posts
since Jul 2009
Jul 15th, 2009
0

Re: page redirects on ASPxMenu

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,
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mthobisil is offline Offline
3 posts
since Jul 2009
Jul 15th, 2009
0

Re: page redirects on ASPxMenu

thanks it worked, i used the QueryString as suggested on the below link.
http://www.codeproject.com/KB/aspnet/QueryString.aspx
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mthobisil is offline Offline
3 posts
since Jul 2009

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP Forum Timeline: display records in asp panel page wise
Next Thread in ASP Forum Timeline: save dynamically created table in sql using asp





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC