在我的网页中使用Tabcontainer之类的Ajax控件时出现问题

编程入门 行业动态 更新时间:2024-10-28 02:23:38
本文介绍了在我的网页中使用Tabcontainer之类的Ajax控件时出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

大家好.. 我在开发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控件时出现问题

本文发布于:2023-11-25 01:00:07,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1627667.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:控件   网页   Tabcontainer   Ajax

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!