How Attributes RadTextBox TextMode="Password" after postBack
I want to help solve this problem
.aspx
<form id="form1" runat="server"> <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager> <div> <asp:Label ID="Label1" runat="server" Text="Passwoed TextBox"></asp:Label> <br /> <asp:TextBox ID="TextBox1" runat="server" TextMode="Password"></asp:TextBox> <br /> <br /> <asp:Label ID="Label2" runat="server" Text="Passwoed radtextbox"></asp:Label> <br /> <telerik:radtextbox runat="server" ID="radtextbox1" TextMode="Password" Skin="Bootstrap"></telerik:radtextbox> <br /> <br /> <asp:Button ID="Button1" runat="server" Text="Button" /> </div> </form>
.vb
If Me.IsPostBack Then radtextbox1.Attributes("value") = radtextbox1.Text.Trim() 'not work 'TextBox1.Attributes("value") = TextBox1.Text 'this work TextBox1.Attributes.Add("value", TextBox1.Text.Trim()) 'this workEnd If
IsItemInserted = true in the PreRender Event ?protected void RadGrid_PreRender(object sender, System.EventArgs e) { if (!this.IsPostBack) { if (Request["mode"] != null && Request["mode"] == "add") { RadGrid1.MasterTableView.IsItemInserted = true; } RadGrid1.MasterTableView.Rebind(); } }protected void RadGrid_ItemCommand(object source, GridCommandEventArgs e){ if (e.CommandName == RadGrid.InitInsertCommandName) { if (Request.QueryString["SomeParameter"] != null) { e.Canceled = true; e.Item.OwnerTableView.InsertItem(); GridEditableItem insertedItem = e.Item.OwnerTableView.GetInsertItem(); String MyUserControlId = GridEditFormItem.EditFormUserControlID; UserControl MyUserControl = insertedItem.FindControl(MyUserControlId) as UserControl; HiddenField hidden = MyUserControl.FindControl("SomeControl") as HiddenField; hidden.Value = Request.QueryString["SomeParameter"]; } }}IsItemInserted = true in the PreRender eventI have a RadSearchBox. The user can start typing and a list of selections comes up.
Is there a way I can restrict the user from typing in invalid choices? I want to force them to choose one of the items on the list.
Any ideas on the best way to approach this would be appreciated!
Hi!
There's a way to build a diagram based on swimlane like Telerik for WPF does?
Thank's.

Hi All,
Having an issue and maybe misunderstand implementation. Hope you can help.
I am able to set HighlightPath procedurally for main-item and sub-item in RadMenu using code similar to below:
Dim currentItem As RadMenuItem = RadMenu1.FindItemByText(LabelMainMenu.Text)
If (Not (currentItem) Is Nothing) Then
currentItem.HighlightPath()
End If
However, I am unable to find a way to turn off HighlightPath for menu items. Hence, every new menu item click is causing HighlightPath to accrue, sort of like a "visited" status link of a URL on an old HTML page (remember the purple color).
Sorry I digress. :)
I can loop through all menu items, but cannot find a property to turn off, i.e. there is no HighlightPath = false or similar.
I tried setting each item to Item.Items(j).Selected = False, but it does not turn off the highlight of the item.
Is there a global setting to reset all Highlights to nothing? or Perhaps a way to remove HighlightPath option, then turn back on to reset all?
I am struggling to find a solution.
Regards,
A.

Hi,
My html chart is working fine with chrome, in Microsoft Edge the Yaxis and Caxis get underlined for some reason, Please see attached images.
How can I remove the underline.
Many thanks in advance.

Hello,
I'm pretty new with the Telerik.
We have just updated to a new version of Telerik at my office and with the new version a GridClientSelectColumn is not visible in IE11. And if you refresh the page with F5 then you see the GridClientSelectColumn. So why does it not show from the beginning?
It's still work as before in chrome (showing up when you go to the page, like it also did in IE11 before we Implemented the new Telerik version.
ASP.NET code:
<telerik:RadGrid runat="server" ID="radGrid1" AutoGenerateColumns="False" AllowMultiRowSelection="True"
EnableEmbeddedSkins="False" OnNeedDataSource="ONDS1" OnItemDataBound="OIDB_OnItemDataBound"
Width="1195px" AllowSorting="True" AllowPaging="True" PageSize="500"
AllowFilteringByColumn="False" ClientDataKeyNames="test1" Visible="True">
<MasterTableView ClientDataKeyNames="Hello1, Hello2" DataKeyNames="DataField1, RequestReference, Message" >
<Columns>
<telerik:GridBoundColumn HeaderText="<%$ Resources:Hello.Main, Common_PartNumberText1 %>" DataField="DataField1" ShowFilterIcon="False"
AutoPostBackOnFilter="True" />
<telerik:GridBoundColumn HeaderText="<%$ Resources:Hello.Main, Common_ManufacturerText1 %>" DataField="DataField2" ShowFilterIcon="False"
AutoPostBackOnFilter="True" />
<telerik:GridBoundColumn HeaderText="<%$ Resources:Hello.Main, Common_DescriptionText1 %>" DataField="DataField3" ShowFilterIcon="False"
AutoPostBackOnFilter="True" />
<telerik:GridBoundColumn HeaderText="<%$ Resources:Hello.Main, Common_SentText1 %>" DataField="DataField4" DataFormatString="{0:yyyy/MM/dd HH:mm}" ItemStyle-Wrap="False"/>
<telerik:GridBoundColumn HeaderText="<%$ Resources:Hello.Main, Common_SentByText1 %>" DataField="DataField5" ShowFilterIcon="False"
AutoPostBackOnFilter="True" ItemStyle-Wrap="False"/>
<telerik:GridBoundColumn HeaderText="<%$ Resources:Hello.Main, Common_StatusText1 %>" DataField="DataField6"
ShowFilterIcon="False" AutoPostBackOnFilter="True" ItemStyle-Wrap="False"/>
<telerik:GridBoundColumn HeaderText="<%$ Resources:Hello.Main, Common_MessageText1 %>" DataField="DataField7" ShowFilterIcon="False"
HtmlEncode="True" AutoPostBackOnFilter="True"/>
<telerik:GridBoundColumn UniqueName="Uni1" DataField="DataField8" Display="False" />
<telerik:GridBoundColumn UniqueName="Uni2" DataField="DataField9" Display="False" />
<telerik:GridBoundColumn UniqueName="Uni3" DataField="DataField10" Display="False" />
<telerik:GridBoundColumn UniqueName="Uni4" DataField="DataField11" Display="False" />
<telerik:GridClientSelectColumn UniqueName="ClientSelectColumn" Display="False" runat="server" />
</Columns>
Code behind:
var selectCol = radGrid1.Columns.FindByUniqueName("ClientSelectColumn");
if (selectCol != null) {
selectCol.Visible = true;
selectCol.Display = true;
}
Hi
Where is/when can we get the same new feature MultiColumnComboBox as for example .Net Core?
Is there a way to fire the ItemCommand event from javascript the same as it would coming from a telerik control within a template item? Using a telerik checkbox or other control inside a template, I can set the command name and argument. When the server side itemcommand event fires, the event args parameter will have the command name, command argument, as well as the correct data item.
I have an ASP checkbox that calls a javascript function to do some validation. I then call the mastertable.fireCommand function, which triggers the server side itemcommand event. I'm able to pass the command and argument, but the data item in the event args is always index zero. I've found a way to retrieve the index of the data item on the client, and pass that index as the commandargument. But I'd like to be able to use the commandargument parameter for something else.
function CheckClick(sender, Idx) {
debugger;
var masterTable = $find("<%= rgGrid.ClientID %>").get_masterTableView();
var row = masterTable.get_dataItems()[Idx];
masterTable.fireCommand("Post", Idx);
}
I could combine the index and additional data and send it together in the command argument, so I do have a workaround. But since the telerik controls are able to pass all three, I assume there should be a better way. I expected something like a fireCommand function of the data item, but I'm not finding anything. How do the telerik controls do that?
