大家好.. 我在开发Web应用程序时遇到问题....我的问题是,在我的项目中,我有两个网页...第一页包含显示,创建的按钮,第二页包含具有两个两个标签面板的标签容器,即tabpanel1和tabpanel2我的要求是,每当我单击显示按钮时,第一页应重定向到第二页tabpanel1 ...,然后单击create按钮将其重定向到第二页tabpanel2,这是我的要求,任何人都可以为此提供帮助. .. 提前致谢 Mishrutha
Hai Everyone.. I got a problem in developing my web application....my problem is,in my project i have two web pages...the page one contains the buttons display, create and the page two contains tab container with two two tab panels i.e tabpanel1 and tabpanel2 my requirement is whenever I click on display button the page one should be redirected to page two tabpanel1...and by clicking on create button it should be redirected to page two tabpanel2 that is my requirement can anyone help for this.... Thank''s in Advance Mishrutha
推荐答案在Page1中,应该使用类似的代码将变量发送到page2. In Page1 You Should send the variables to page2,by using the code like in button1: response.redirect("page2.aspx?value=1"); in button2:response.redirect("page2.aspx?value=2"); in page2 u should take the value in page load int i=convert.int16(request["value"].tostring()); if(i==1) { tabcontainer1.activetabindex=0; } else if(i==2) { tabcontainer1.activetabindex=1; }
更多推荐
在我的网页中使用Tabcontainer之类的Ajax控件时出现问题
发布评论