C#.net中的rad控制问题 [英] rad control issue in c#.net
本文介绍了C#.net中的rad控制问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在具有8个选项卡的页面上有一个RadTabStrip,并具有8个页面查看器的Rad MultiPage Viewer.
每个页面查看器都有大约10-15弧度的控件.
单击按钮时,如果任何页面上的任何字段都为空白,则选中相应的选项卡,以便用户可以查看将字段保留为空白的页面.
我想用javascript ...
解决方案
Vivek,
为什么不在他们的论坛 [ http://www. telerik.com/community/forums/aspnet/tabstrip/radtabtrip-select-tab-and-multipage-corresponding-with-load-page.aspx [
函数onBeforeClientTabClicked(sender,eventArgs){
var lbl_part_id = document.getElementById("lbl_part_id");
如果(lbl_part_id.innerText!="){
if(sender.get_selectedTab().get_text()==规格"){
var description =
I have a RadTabStrip on a page with 8 tabs and a Rad MultiPage Viewer with 8 page viewers.
Each page viewer has about 10-15 rad controls.
On the click of a button if any field is left blank on any page, the correspoding tab shud get selected, so that user can view the page where a field is left blank.
All this i want to do in javascript...
解决方案
Vivek,
Why don''t you ask this in their forum[^]?
BTW, you can iterate all controls and check whether its blank or not and get corresponding tab and active that tab.
check this
http://www.telerik.com/community/forums/aspnet/tabstrip/radtabtrip-select-tab-and-multipage-corresponding-with-load-page.aspx[^]
OnClientTabSelecting="onBeforeClientTabClicked"
function onBeforeClientTabClicked(sender, eventArgs) {
var lbl_part_id = document.getElementById("lbl_part_id");
if (lbl_part_id.innerText != "") {
if (sender.get_selectedTab().get_text() == "Specifications") {
var description =
这篇关于C#.net中的rad控制问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文