| setTimeout(function() { GetRadWindow().autoSize(true) }, 500); |
| <style type="text/css"> |
| html, body, form |
| { |
| padding: 0; |
| margin: 0; |
| height: 100%; |
| background-color: #f2f2de; |
| } |
| fieldset |
| { |
| height: 581px; |
| } |
| * + html fieldset |
| { |
| height: 585px; |
| width: 840px; |
| } |
| </style> |
| <div style="width: 850px; height: 600px;"> |
I am having trouble accessing the value typed into the textbox on click of a submit button. the control is found however the text property is always empty. Please assist.
Protected Sub btnSubmit_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSubmit.Click For Each item As RadListBoxItem In lbAssignedComponents.Items Dim tbxPageComponentName As TextBox = item.FindControl("tbxPageComponentName") Next End Sub<telerik:RadAjaxPanel runat="server" ID="RadAjaxPanel1"> <telerik:RadListBox runat="server" ID="lbAvailableComponents" Height="200px" Width="342px" TransferMode="Copy" AllowTransfer="true" AllowTransferDuplicates="true" TransferToID="lbAssignedComponents" AutoPostBackOnTransfer="true"> <ItemTemplate> Component: <%# DataBinder.Eval(Container, "Text")%><br /> </ItemTemplate> </telerik:RadListBox> <telerik:RadListBox runat="server" ID="lbAssignedComponents" Height="200px" Width="342px" AllowReorder="true" AllowDelete="true" AllowTransfer="false"> <ItemTemplate> Component: <%# DataBinder.Eval(Container, "Text")%><br /> Unique Name: <asp:TextBox ID="tbxPageComponentName" runat="server"></asp:TextBox> </ItemTemplate> </telerik:RadListBox> </telerik:RadAjaxPanel><mastertableview autogeneratecolumns="False" datakeynames="AccountId" datasourceid="SqlDataSource1" groupsdefaultexpanded="False"><telerik:CommandItemSettings ShowExportToExcelButton="true" /> <DetailTables> <telerik:GridTableView runat="server" DataKeyNames="StatementId" DataSourceID="SqlDataSource2" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" > <DetailTables> <telerik:GridTableView runat="server" DataSourceID="SqlDataSource3" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" GroupsDefaultExpanded="False" ShowFooter="True" ShowGroupFooter="True" AllowMultiColumnSorting="True" GridLines="None"> <ParentTableRelation> <telerik:GridRelationFields DetailKeyField="StatementId" MasterKeyField="StatementId" /> </ParentTableRelation> <AlternatingItemStyle BackColor="White" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" Wrap="True" /> <HeaderStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" Wrap="True" /> <FooterStyle BackColor="Yellow" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" Wrap="True" /> </telerik:GridTableView> </DetailTables> <ParentTableRelation> <telerik:GridRelationFields DetailKeyField="AccountId" MasterKeyField="AccountId" /> </ParentTableRelation> <CommandItemSettings ExportToPdfText="Export to Pdf" /> <ExpandCollapseColumn Visible="True"> </ExpandCollapseColumn> </telerik:GridTableView> </DetailTables> <ParentTableRelation> <telerik:GridRelationFields DetailKeyField="AccountId" MasterKeyField="AccountId" /> </ParentTableRelation> <ExpandCollapseColumn Visible="True"> </ExpandCollapseColumn> <Columns> <telerik:GridBoundColumn DataField="ACCOUNTID" DataType="System.Int32" HeaderText="ACCOUNTID" SortExpression="ACCOUNTID" UniqueName="ACCOUNTID"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="ACCOUNTREF" HeaderText="ACCOUNTREF" SortExpression="ACCOUNTREF" UniqueName="ACCOUNTREF"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="CUSTOMERID" DataType="System.Int32" HeaderText="CUSTOMERID" SortExpression="CUSTOMERID" UniqueName="CUSTOMERID"> </telerik:GridBoundColumn> </Columns> </mastertableview>protected void Button4_Click(object sender, System.EventArgs e) { //ConfigureExport(); RadGrid1.Rebind(); RadGrid1.MasterTableView.HierarchyDefaultExpanded = true; //RadGrid1.MasterTableView.DetailTables[0].HierarchyDefaultExpanded = true; RadGrid1.ExportSettings.IgnorePaging = true; RadGrid1.ExportSettings.ExportOnlyData = true; RadGrid1.ExportSettings.FileName = "RadGridExportToCSV"; RadGrid1.ExportSettings.OpenInNewWindow = true; RadGrid1.MasterTableView.ExportToCSV(); }Hi,
I am having issue with having tooltip only for disabled item in a list of radmenuitem.
Basically I have say A, B, C, D as items and lets say B is disabled. So when the user (mouseover/click is also fine) on B, a tooltip should come with the text.
Thanks in advance,
Sreenivas.
<
telerik:RadMenu ID="CleasActionMenuControl" EnableEmbeddedSkins="true" Skin="Vista"
CausesValidation="false" Flow="Horizontal" Width="185px" ClickToOpen="false"
runat="server">
<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
<Items>
<telerik:RadMenuItem Enabled="true" Text="Select Action">
<GroupSettings ExpandDirection="Down" Flow="Vertical" OffsetX="0" Width="185px" />
<Items>
<telerik:RadMenuItem Enabled="true" Text="A" ToolTip="" />
<telerik:RadMenuItem Enabled="false" Text="B" ToolTip="You cannot perform this action because there is a reason you can't. \nOtherwise, \nyou'll just see a really long message here in the tooltip. Unless, of course, you can't. In this case, you won't see a really long tooltip, just this." />
<telerik:RadMenuItem Enabled="true" Text="C" ToolTip="" />
<telerik:RadMenuItem Enabled="true" Text="D" ToolTip="" />
</Items>
</telerik:RadMenuItem>
</Items>
</telerik:RadMenu>
I am using RadSplitter with two pans. The following is my code
<telerik:RadSplitter ID="RadSplitter1" runat="server" Width="100%" Height="600px" VisibleDuringInit="false">
<telerik:RadPane ID="MainPane" runat="server" Width="100%" Height="600px">
Main content
</telerik:RadPane>
<telerik:RadSplitBar ID="RadSplitbar1" runat="server">
</telerik:RadSplitBar>
<telerik:RadPane ID="RightPane" runat="server" Width="30" Scrolling="Both" Height="600px">
Menu content
</telerik:RadPane>
</telerik:RadSplitter>
However, I don’t want to specify the height. I would like it to auto expand based on the content of the MainPane so I can avoid the scroll bars.
Currently, if I don’t specify the height, it is taking default of 400px.
Any suggestions??
Thanks in advance.