Response.Redirect URL parametres
-
Hi all, I tried to build an app and I want to make one page, and to be able to decide what task is requested with parametres ?action=new or ?action=edit in URL. I have already read the article "Transferring Values and Controls", it helped me a lot, but I don't know what's the best way to show the appropriate set of controls in the page (for example: for registration of new account there are 5 textboxes, but for editing of existing user there are only 3 textboxes). I've got an idea to use a panel control. Is it right, or are there any better solutions? Thanks a lot.
-
Hi all, I tried to build an app and I want to make one page, and to be able to decide what task is requested with parametres ?action=new or ?action=edit in URL. I have already read the article "Transferring Values and Controls", it helped me a lot, but I don't know what's the best way to show the appropriate set of controls in the page (for example: for registration of new account there are 5 textboxes, but for editing of existing user there are only 3 textboxes). I've got an idea to use a panel control. Is it right, or are there any better solutions? Thanks a lot.
Panel can work, or dynamically add the proper number of controls based on the param value.
-
Hi all, I tried to build an app and I want to make one page, and to be able to decide what task is requested with parametres ?action=new or ?action=edit in URL. I have already read the article "Transferring Values and Controls", it helped me a lot, but I don't know what's the best way to show the appropriate set of controls in the page (for example: for registration of new account there are 5 textboxes, but for editing of existing user there are only 3 textboxes). I've got an idea to use a panel control. Is it right, or are there any better solutions? Thanks a lot.
Create only one page and based on parameter, set visible property of controls Sanjay Sansanwal www.sansanwal.com
-
Hi all, I tried to build an app and I want to make one page, and to be able to decide what task is requested with parametres ?action=new or ?action=edit in URL. I have already read the article "Transferring Values and Controls", it helped me a lot, but I don't know what's the best way to show the appropriate set of controls in the page (for example: for registration of new account there are 5 textboxes, but for editing of existing user there are only 3 textboxes). I've got an idea to use a panel control. Is it right, or are there any better solutions? Thanks a lot.
I'm with Sanjay Sansanwal on this. Often I pop a div (with runat set to server) around blocks html on the page and in the page load, .Visible to false for them and then enable the blocks I want to use. Only the ones with visible set true will be rendered. Rocky <>< www.HintsAndTips.com www.MyQuickPoll.com - 2004 Election poll is #33 www.GotTheAnswerToSpam.com "We plan for the future, we learn from the past, we live life in the present!"