Hi, I have a problem with the GridCheckBoxColumn column filters.
This is my code.
<telerik:RadScriptManager ID="RadScriptManager1" runat="server" /><telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server" /><telerik:RadGrid ID="RadGrid1" runat="server" CellSpacing="0" Culture="it-IT" GridLines="None" DataKeyNames="ID" DataSourceID="SqlDataSource1" AutoGenerateColumns="false" Width="100%" AllowSorting="true" AllowPaging="true" AllowFilteringByColumn="true" GroupingSettings-CaseSensitive="false" EnableLinqExpressions="false" Skin="Bootstrap" > <MasterTableView DataKeyNames="ID" DataSourceID="SqlDataSource1" > <Columns> <telerik:GridBoundColumn SortExpression="Nome" HeaderText="Nome" DataField="Nome" ShowFilterIcon="false" AutoPostBackOnFilter="true" CurrentFilterFunction="Contains"> </telerik:GridBoundColumn> <telerik:GridCheckBoxColumn SortExpression="Test 1" HeaderText="Test 1" DataField="Test 1" ShowFilterIcon="false" AutoPostBackOnFilter="true" CurrentFilterFunction="EqualTo"> </telerik:GridCheckBoxColumn> <telerik:GridCheckBoxColumn SortExpression="Test 2" HeaderText="Test 2" DataField="Test 2" ShowFilterIcon="false" AutoPostBackOnFilter="true" CurrentFilterFunction="EqualTo"> </telerik:GridCheckBoxColumn> <telerik:GridCheckBoxColumn SortExpression="Test 3" HeaderText="Test 3" DataField="Test 3" ShowFilterIcon="false" AutoPostBackOnFilter="true" CurrentFilterFunction="EqualTo"> </telerik:GridCheckBoxColumn> <telerik:GridCheckBoxColumn SortExpression="Test 4" HeaderText="Test 4" DataField="Test 4" ShowFilterIcon="false" AutoPostBackOnFilter="true" CurrentFilterFunction="EqualTo"> </telerik:GridCheckBoxColumn> </Columns> <SortExpressions> <telerik:GridSortExpression FieldName="Nome" SortOrder="Ascending" /> </SortExpressions> </MasterTableView></telerik:RadGrid> <asp:SqlDataSource ID="SqlDataSource1" runat="server" ProviderName="System.Data.SqlClient" ConnectionString="<%$ ConnectionStrings:StrConnection %>" SelectCommand="SELECT Nome, [Test 1], [Test 2], [Test 3], [Test 4], [ID] FROM vista_r WHERE [ID R] = 1" ></asp:SqlDataSource>
Filters only start working after I click on the 4 GridCheckBoxColumn filters.
Here a sample video
How can I solve?
Thank you.
Hello Telerik Team,
I've noticed that the automatic height resizing doesn't apply to the editor immediately after a hard refresh, but as soon as any modifications are made to the editor, it will resize to the appropriate size. I was wondering if there was any way to force the editor to resize itself immediately when the page loads? This feature works fine under most circumstances, even after a regular refresh.
This can be re-created on the Automatic Height Resize demo, by simply performing a hard refresh and observing the results.
Thanks in advance,
Aidan Harris
I have Bootstrap 3 dropdowns (like these http://getbootstrap.com/docs/3.3/javascript/#dropdowns ) on my page and multiple buttons that open RadWindows. My trouble is that the RadWindows always put themselves overtop of the dropdowns, even if I give the dropdowns a super high z-index.
I can set all my dropdown menus to be "z-index: 9999999;" and no matter what, the RadWindows always position themselves above. I can manually force each ".RadWindow" class to use "z-index: 100 !important;" but that breaks the ability to have one RadWindow gain z-index advantage over competing RadWindows when clicked/focused. There doesn't seem to be a good way to make these two things work. I've also tried to capture the Bootstrap dropdown's "shown" event to adjust its z-index to always be higher than any RadWindows that might be obstructing it, but that didn't help either.
How can I make these two things play together nicely if giving the dropdowns a high z-index isn't working? I want my dropdown-menu's to always have the highest priority possible when displaying one because in my website they're more important than whats in the windows, and its very frustrating to have to move RadWindows out of the way to be able to see the contents of a dropdown.
I have a radgrid with a parent table and single detail table. The ItemCommand event works properly for the "Page" and "ChangePageSize" commands coming from the parent grid. It also works properly for the "Page" command from the detail grid. However, when changing the page size of the detail grid, the ItemCommand event does not get fired. The postback occurs and the new page size gets applied properly to the detail table of the grid. But the ItemCommand event does never fires. Since it works for the page change event, I don't think this is a configuration issue.
I'm using version 2018.1.117.45

Recently, our pie chart has stopped displaying. The JS console says:
Uncaught TypeError: Cannot read property 'labels' of undefinedand on MouseOut
Uncaught TypeError: Cannot read property 'hideCrosshairs' of undefinedThe HtmlChart object is defined on the aspx side and populated from the vb side.
However, even when taking the example directly from http://docs.telerik.com/devtools/aspnet-ajax/controls/htmlchart/chart-types/pie-chart, the example does not display, and the console gives me the same error messages.
We are using version 2017.1.228.45.
(Full JS error messages at the end.)
aspx:
<telerik:RadHtmlChart runat="server" ID="RadHtmlChart1" OnClientSeriesClicked="OnClientSeriesClicked" Height="300px" Transitions="false" />vb:
RadHtmlChart1.Visible = TrueDim chartData As New PieSerieschartData.StartAngle = "90"chartData.LabelsAppearance.Position = HtmlChart.PieAndDonutLabelsPosition.OutsideEndchartData.LabelsAppearance.DataFormatString = "{0} %"chartData.TooltipsAppearance.DataFormatString = "{0} %"Dim chartItem1 As New PieSeriesItemchartItem1.Name = "Closed" & " (" & yvalues(0) & ")"chartItem1.Y = yvalues(0) 'Round(yvalues(0) / total * 100, 2)chartItem1.BackgroundColor = Color.GreenchartItem1.Exploded = FalsechartData.SeriesItems.Add(chartItem1)Dim chartItem2 As New PieSeriesItemchartItem2.Name = "Unclosed" & " (" & yvalues(1) & ")"chartItem2.Y = yvalues(1) 'Round(yvalues(1) / total * 100, 2)chartItem2.BackgroundColor = Color.LightGreenchartItem2.Exploded = FalsechartData.SeriesItems.Add(chartItem2)Dim chartItem3 As New PieSeriesItemchartItem3.Name = "Unfinished" & " (" & yvalues(2) & ")"chartItem3.Y = yvalues(2) 'Round(yvalues(2) / total * 100, 2)chartItem3.BackgroundColor = Color.LightGraychartItem3.Exploded = FalsechartData.SeriesItems.Add(chartItem3)Dim chartItem4 As New PieSeriesItemchartItem4.Name = "Overdue" & " (" & yvalues(3) & ")"chartItem4.Y = yvalues(3) 'Round(yvalues(3) / total * 100, 2)chartItem4.BackgroundColor = Color.FirebrickchartItem4.Exploded = FalsechartData.SeriesItems.Add(chartItem4)RadHtmlChart1.PlotArea.Series.Clear()RadHtmlChart1.PlotArea.Series.Add(chartData)RadHtmlChart1.Legend.Appearance.Position = HtmlChart.ChartLegendPosition.Top
Full error messages (URLs redacted):
Telerik.Web.UI.WebResource.axd:23965 Uncaught TypeError: Cannot read property 'labels' of undefined at init.render (https://x.com/Telerik.Web.UI.WebResource.axd?_TSM_Hidden…3a69667591%3a6b6b9ee5%3a595e7652%3a6d43f6d9%3a58366029%3ae4f8f289:23965:37) at init.reflow (https://x.com/Telerik.Web.UI.WebResource.axd?_TSM_Hidden…3a69667591%3a6b6b9ee5%3a595e7652%3a6d43f6d9%3a58366029%3ae4f8f289:23970:28) at init.reflow (https://x.com/Telerik.Web.UI.WebResource.axd?_TSM_Hidden…%3a69667591%3a6b6b9ee5%3a595e7652%3a6d43f6d9%3a58366029%3ae4f8f289:24162:5) at aX.reflowCharts (https://x.com/Telerik.Web.UI.WebResource.axd?_TSM_Hidden…3a69667591%3a6b6b9ee5%3a595e7652%3a6d43f6d9%3a58366029%3ae4f8f289:22535:25) at aX.reflow (https://x.com/Telerik.Web.UI.WebResource.axd?_TSM_Hidden…%3a69667591%3a6b6b9ee5%3a595e7652%3a6d43f6d9%3a58366029%3ae4f8f289:22378:6) at init.reflow (https://x.com/Telerik.Web.UI.WebResource.axd?_TSM_Hidden…3a69667591%3a6b6b9ee5%3a595e7652%3a6d43f6d9%3a58366029%3ae4f8f289:17252:13) at init._getModel (https://x.com/Telerik.Web.UI.WebResource.axd?_TSM_Hidden…%3a69667591%3a6b6b9ee5%3a595e7652%3a6d43f6d9%3a58366029%3ae4f8f289:24996:3) at init._redraw (https://x.com/Telerik.Web.UI.WebResource.axd?_TSM_Hidden…3a69667591%3a6b6b9ee5%3a595e7652%3a6d43f6d9%3a58366029%3ae4f8f289:24931:33) at init.d.fn.(anonymous function) [as _redraw] (https://x.com/Telerik.Web.UI.WebResource.axd?_TSM_Hidden…3a69667591%3a6b6b9ee5%3a595e7652%3a6d43f6d9%3a58366029%3ae4f8f289:25726:22) at init.refresh (https://x.com/Telerik.Web.UI.WebResource.axd?_TSM_Hidden…%3a69667591%3a6b6b9ee5%3a595e7652%3a6d43f6d9%3a58366029%3ae4f8f289:25546:4)Telerik.Web.UI.WebResource.axd:23965 Uncaught (in promise) TypeError: Cannot read property 'labels' of undefined at init.render (Telerik.Web.UI.WebResource.axd:23965) at init.reflow (Telerik.Web.UI.WebResource.axd:23970) at init.reflow (Telerik.Web.UI.WebResource.axd:24162) at aX.reflowCharts (Telerik.Web.UI.WebResource.axd:22535) at aX.reflow (Telerik.Web.UI.WebResource.axd:22378) at init.reflow (Telerik.Web.UI.WebResource.axd:17252) at init._getModel (Telerik.Web.UI.WebResource.axd:24996) at init._redraw (Telerik.Web.UI.WebResource.axd:24931) at Telerik.Web.UI.WebResource.axd:24855 at <anonymous>Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager_TSM&compress=1&_TSM_CombinedScripts_…:25258 Uncaught TypeError: Cannot read property 'hideCrosshairs' of undefined at init.hideElements (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager_TSM&compress=1&_TSM_CombinedScripts_…:25258) at init._mouseleave (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager_TSM&compress=1&_TSM_CombinedScripts_…:25606) at HTMLDivElement.e (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager_TSM&compress=1&_TSM_CombinedScripts_…:1577) at HTMLDivElement.handle (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager_TSM&compress=1&_TSM_CombinedScripts_…:1578) at HTMLDivElement.dispatch (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager_TSM&compress=1&_TSM_CombinedScripts_…:1578) at HTMLDivElement.r.handle (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager_TSM&compress=1&_TSM_CombinedScripts_…:1578)

Wow, this has been fun. I have a project that uses .net member and roles to dynamically build a menu. The first item in the menu and the last item in the menu were always the same so I initially crated a radmenu on my master page with the following:
<telerik:RadMenu ID="RadMenu1" runat="server" Skin="Vista" OnClientItemClicked="onClickedMenuItem" Height="20px" Width="100%"> <Items> <telerik:RadMenuItem runat="server" Text="logo" PostBack="False"> <ItemTemplate> <asp:Image ID="Image1" runat="server" AlternateText="<%$ AppSettings:menuimgalttext %>" Height="<%$ AppSettings:menuimgheight %>" ImageUrl="<%$ AppSettings:menuimg %>" Width="<%$ AppSettings:menuimgwidth %>" /> </ItemTemplate> </telerik:RadMenuItem> <telerik:RadMenuItem runat="server" PostBack="False" CssClass="rightMenu"> <ItemTemplate> <asp:LinkButton ID="LinkButton1" runat="server" PostBackUrl="~/Default.aspx?logout=true">Logout: </asp:LinkButton> <asp:Label ID="lblUser" Text = "lblUser" runat="server"></asp:Label> <asp:Label ID="lblInstitution" Text="lblInstitution" runat="server"></asp:Label> <asp:Label ID="lbldate" Text="lbldate" runat="server"></asp:Label> </ItemTemplate> </telerik:RadMenuItem> </Items></telerik:RadMenu>
As you can see, the two template items were the only items in the menu. I then used Radmenu1.Insert(1,“Menu Item”) to put items between these templates. This works great unless there is a postback in which case the radmenu items of the two initial templates are instantiated without the templates (On initial display the page works just fine, only on a postback is there a problem). Telerik told me it had to do with the viewstate and how insert worked and suggested I use the information from the following article ( http://www.telerik.com/help/aspnet-ajax/menu-templates-runtime.html) to dynamically insert my templates.
The deal with the article is it assumes the template is going to be applied to every item in the menu, which for me is not the case. Based on article I created me a litTemplate class:
Imports Telerik.Web.UIPublic Class litTemplate Implements ITemplate Dim myId As String Public Sub New(ByVal id As String) myId = id End Sub Public Sub InstantiateIn(ByVal container As Control) Implements ITemplate.InstantiateIn Dim lit1 As New LiteralControl lit1.ID = myId AddHandler lit1.DataBinding, AddressOf lit1_DataBinding container.Controls.Add(lit1) End Sub Private Sub lit1_DataBinding(ByVal sender As Object, ByVal e As EventArgs) Dim target As LiteralControl = DirectCast(sender, LiteralControl) Dim item As RadMenuItem = DirectCast(target.BindingContainer, RadMenuItem) Dim itemText As String = DirectCast(DataBinder.Eval(item, "Text"), String) target.Text = itemText End SubEnd ClassIt uses the new function to set the id for the template item. Then, it uses the Text property from the radmenuitem to determine what the literal html to be inserted is.
I changed radmenu definition to:
<telerik:RadMenu ID="RadMenu1" runat="server" Skin="Vista" OnClientItemClicked="onClickedMenuItem" Height="20px" Width="100%"> <Items> </Items></telerik:RadMenu>
I then used the following code at the end of my menu to always add the user login information with a Logout link:
Dim litString as String = "<a href=""Default.aspx?logout=true"">Logout :</a> " + auser.UserName.ToString + " / " + Session("Institution") + " " + Session("ProcessDate") Dim item6template As New litTemplate("lit1") RadMenu1.ItemTemplate = item6template Dim item6 As New RadMenuItem(litString) RadMenu1.Items.Add(item6) RadMenu1.ItemTemplate = Nothing RadMenu1.DataBind()This creates the literal text template and sets the itemtemplate for the radmenu to the template. Now when a new radmenuitem is added it uses the template. I then set it back to nothing so additional radmenuitems do not use the template.
So I guess the trick is just setting the Radmenu.ItemTemplate before adding an item then setting it back to nothing when done. It is a pretty simple way to use templates on a per radmenuitem basis if your dynamically building your menus.
This litTemplate is flexible enough that I also used it to handle the logo as the first element of the menu. Using this technique, you could "literally", pun intended, insert anything in the menu.
Hope this helps someone.

Hello
I am using Telerik RadHtml barchart and want to get Y axis max values on run time and wan to set this value on another bar chart 's y axis.
For now i have set it with below.
radhtmlBarChartDocSubmissionCurrentWeek.PlotArea.YAxis.MaxValue = Value;
here is value is custom calculated.
Please do needful for this.
Thanks,
Mukesh Prajapati
How do I fix the height in upload window so I do not need to scroll to access the button....
See attached image

When I clicked expand button in Hierarchial Grid, only the event of MasterTableView's OnNeedDataSource event is fired but DetailTablesis not expand.
After that I got javascript error as follow:
Uncaught Error: Sys.WebForms.PageRequestManagerServerErrorException: 運算式中語法錯誤。
at Function.Error$create [as create] (ScriptResource.axd?d=AfvFZH5yr9SFZO1uJIkxMNpyoCc9wNwM5tA7rEHIyT11kgJ5EkhPsEnUeQe2gORcoMk74AeuNrfWZk4A_j_7v5lioH7P8YDhj_y126_XtCoSPPNdre0pBH5g0aXaTJJzdo2SYuiCu7FqqqNIViB9M7L6OwjuBkcGg8R3slWkEDqT31jr0&t=2e2045e2:222)
at Sys$WebForms$PageRequestManager$_createPageRequestManagerServerError [as _createPageRequestManagerServerError] (ScriptResource.axd?d=BtzRDy2CmDYUKa-SuQWd30NyzML3bPck27UBkLxHZlNcJHVeYeA95bRcApKHuXI97vaTH-l0DJz23dNFK7Npu-q_uLvjYEzlAeOLA8GXd5-c7zfzkWXjj_fMGwj7E4dpNw6jhFSeO2hP0vYeuy66i_uIiu4O5u29HZCZe92isT_W9MHp0&t=2e2045e2:360)
at Sys$WebForms$PageRequestManager$_parseDelta [as _parseDelta] (ScriptResource.axd?d=BtzRDy2CmDYUKa-SuQWd30NyzML3bPck27UBkLxHZlNcJHVeYeA95bRcApKHuXI97vaTH-l0DJz23dNFK7Npu-q_uLvjYEzlAeOLA8GXd5-c7zfzkWXjj_fMGwj7E4dpNw6jhFSeO2hP0vYeuy66i_uIiu4O5u29HZCZe92isT_W9MHp0&t=2e2045e2:1111)
at Sys$WebForms$PageRequestManager$_onFormSubmitCompleted [as _onFormSubmitCompleted] (ScriptResource.axd?d=BtzRDy2CmDYUKa-SuQWd30NyzML3bPck27UBkLxHZlNcJHVeYeA95bRcApKHuXI97vaTH-l0DJz23dNFK7Npu-q_uLvjYEzlAeOLA8GXd5-c7zfzkWXjj_fMGwj7E4dpNw6jhFSeO2hP0vYeuy66i_uIiu4O5u29HZCZe92isT_W9MHp0&t=2e2045e2:903)
at Array.<anonymous> (ScriptResource.axd?d=AfvFZH5yr9SFZO1uJIkxMNpyoCc9wNwM5tA7rEHIyT11kgJ5EkhPsEnUeQe2gORcoMk74AeuNrfWZk4A_j_7v5lioH7P8YDhj_y126_XtCoSPPNdre0pBH5g0aXaTJJzdo2SYuiCu7FqqqNIViB9M7L6OwjuBkcGg8R3slWkEDqT31jr0&t=2e2045e2:47)
at ScriptResource.axd?d=AfvFZH5yr9SFZO1uJIkxMNpyoCc9wNwM5tA7rEHIyT11kgJ5EkhPsEnUeQe2gORcoMk74AeuNrfWZk4A_j_7v5lioH7P8YDhj_y126_XtCoSPPNdre0pBH5g0aXaTJJzdo2SYuiCu7FqqqNIViB9M7L6OwjuBkcGg8R3slWkEDqT31jr0&t=2e2045e2:2399
at Sys$Net$WebRequest$completed [as completed] (ScriptResource.axd?d=AfvFZH5yr9SFZO1uJIkxMNpyoCc9wNwM5tA7rEHIyT11kgJ5EkhPsEnUeQe2gORcoMk74AeuNrfWZk4A_j_7v5lioH7P8YDhj_y126_XtCoSPPNdre0pBH5g0aXaTJJzdo2SYuiCu7FqqqNIViB9M7L6OwjuBkcGg8R3slWkEDqT31jr0&t=2e2045e2:5103)
at XMLHttpRequest.Sys$Net$XMLHttpExecutor._onReadyStateChange (ScriptResource.axd?d=AfvFZH5yr9SFZO1uJIkxMNpyoCc9wNwM5tA7rEHIyT11kgJ5EkhPsEnUeQe2gORcoMk74AeuNrfWZk4A_j_7v5lioH7P8YDhj_y126_XtCoSPPNdre0pBH5g0aXaTJJzdo2SYuiCu7FqqqNIViB9M7L6OwjuBkcGg8R3slWkEDqT31jr0&t=2e2045e2:4721)
html is here:
<td class="rgExpandCol"><button type="button" name="ctl00$cphMain$RadGrid1$ctl00$ctl04$GECBtnExpandColumn" value="Expand" onclick="javascript:__doPostBack('ctl00$cphMain$RadGrid1$ctl00$ctl04$GECBtnExpandColumn','')" id="ctl00_cphMain_RadGrid1_ctl00_ctl04_GECBtnExpandColumn" title="Expand" class="t-button rgActionButton rgExpand"><span class="t-font-icon rgIcon rgExpandIcon"></span></button></td>
C#
<p></p><p><telerik:RadGrid RenderMode="Lightweight" ID="RadGrid1" GridLines="Both" runat="server"<br> OnItemCommand="RadGrid1_ItemCommand" <br> OnItemDataBound="RadGrid1_ItemDataBound" <br> OnDetailTableDataBind="RadGrid1_OnDetailTableDataBind" <br> OnNeedDataSource="RadGrid1_NeedDataSource" <br> AutoGenerateColumns="False" <br> AllowPaging="false"<br> MasterTableView-HierarchyDefaultExpanded="false"><br> <MasterTableView <br> CommandItemDisplay="TopAndBottom" <br> DataKeyNames="mrno,itemno"<br> HorizontalAlign="NotSet" <br> EditMode="Batch" <br> AutoGenerateColumns="False"><br> <CommandItemTemplate><br> <telerik:RadPushButton runat="server" ID="SaveChangesButton" Text="儲存" CommandName="UpdateAll"><br> <Icon CssClass="rgSaveIcon" /><br> </telerik:RadPushButton><br> <telerik:RadLinkButton runat="server" ID="RadLinkButton2" Text="回上一頁" NavigateUrl="SW_INV_K11_03.ASPX?ReQuery=1" /><br> </CommandItemTemplate><br> <BatchEditingSettings EditType="Cell" SaveAllHierarchyLevels="true" /><br> <DetailTables><br> <telerik:GridTableView DataKeyNames="mrno,itemno" <br> AllowPaging="false" <br> CommandItemDisplay="Top"<br> EditMode="Batch" <br> Name="Details"<br> Width="100%" runat="server" ><br> <ParentTableRelation><br> <telerik:GridRelationFields MasterKeyField="mrno,itemno" DetailKeyField="mrno,itemno"></telerik:GridRelationFields><br> </ParentTableRelation><br> <Columns><br> <telerik:GridButtonColumn ConfirmText="確定要刪除嗎?"<br> CommandName="Delete" Text="刪除" UniqueName="DeleteColumn1"><br> <HeaderStyle Width="20px"></HeaderStyle><br> <ItemStyle HorizontalAlign="Center" CssClass="MyImageButton"></ItemStyle><br> </telerik:GridButtonColumn><br><br> <telerik:GridBoundColumn SortExpression="batch_no" HeaderText="批號"<br> DataField="batch_no" UniqueName="batch_no"><br> </telerik:GridBoundColumn><br><br> <telerik:GridTemplateColumn HeaderText="效期" UniqueName="valid_dt" HeaderStyle-Width="8%"><br> <ItemTemplate><br> <telerik:RadDatePicker RenderMode="Lightweight" ID="valid_dt_RadDatePicker" Width="50%" ClientEvents-OnDateSelected="OnDateSelected" runat="server"><br> </telerik:RadDatePicker><br> </ItemTemplate><br> </telerik:GridTemplateColumn><br> <telerik:GridBoundColumn SortExpression="valid_qty" HeaderText="數量" DataType="System.UInt32"<br> DataField="valid_qty" UniqueName="valid_qty"><br> </telerik:GridBoundColumn><br> </Columns><br><br> </telerik:GridTableView><br> </DetailTables><br> <Columns><br> <telerik:GridBoundColumn DataField="mrno" HeaderText="補貨單編號" HeaderStyle-Width="8%"<br> ReadOnly="True" SortExpression="mrno" UniqueName="mrno"><br> </telerik:GridBoundColumn><br> <telerik:GridBoundColumn DataField="itemno" HeaderText="材料編號" HeaderStyle-Width="10%"<br> ReadOnly="True" SortExpression="itemno" UniqueName="itemno"><br> </telerik:GridBoundColumn><br> <telerik:GridBoundColumn DataField="item_nm" HeaderText="品名規格" HeaderStyle-Width="30%"<br> HeaderStyle-HorizontalAlign="Center" ReadOnly="True" SortExpression="item_nm" UniqueName="item_nm"><br> </telerik:GridBoundColumn><br> <telerik:GridBoundColumn DataField="min_unit" HeaderText="單位" HeaderStyle-Width="6%"<br> ReadOnly="True" SortExpression="min_unit" UniqueName="min_unit"><br> </telerik:GridBoundColumn><br> <telerik:GridBoundColumn DataField="real_qty" HeaderText="補貨數量" HeaderStyle-Width="8%"<br> ReadOnly="True" SortExpression="real_qty" UniqueName="real_qty" ItemStyle-HorizontalAlign="Center"><br> </telerik:GridBoundColumn><br> </Columns><br> </MasterTableView><br> <ClientSettings AllowKeyboardNavigation="true"></ClientSettings><br></telerik:RadGrid></p>
In my wizard code, I want to send the user to a specific step based on a condition.
I can set the ActiveStepIndex to the index of the step but I am unable to figure out how to get the stepindex of a specific step based on the ID of the step.
Please suggest.