Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
141 views
Its relatively easy to do client-side validation and display an error message, however it seems difficult to show a success message in a simple / easy way.

It seems like the only way to do this is to write a bit of javascript that hooks into the ClientEvents-OnBlur(), then have this function check validity again, and apply the proper class, correct? 

Does anyone have a working example?
Viktor Tachev
Telerik team
 answered on 03 Dec 2014
1 answer
605 views
Is it possible to use the OnClientClicked property of a RadButton to do a clientside check and if the check returns true, then fire the onclick event. If the clientside check returns false, don't fire the onclick event.

Is that possible?

Exemple:
<asp:CheckBox ID="ckBoxAutoFill" runat="server" Text="Auto Fill" />
<telerik:RadButton ID="btnAddNew" runat="server" OnClientClicked="addNewRecord" OnClick="btnAddNew_Click" Text="Add">
 
function addNewRecord(sender, args) {
  var ckBox = document.getElementById("<%=ckBoxAutoFill.ClientID%>");
  if (ckBox.checked) {
    //execute onclick event btnAddNew_Click
  }
  else {
    //don't execute onclick event and execute the code below
    var grid = $find("<%=radGrid1.ClientID%>");
    var batchManager = grid.get_batchEditingManager();
    batchManager.addNewRecord(grid.get_masterTableView());
  }
}

Thanks
Danail Vasilev
Telerik team
 answered on 03 Dec 2014
1 answer
53 views
Hi,

Using a Hierarchy grid edit first main category record then expand another main category then edit its sub category record after click on Cancel they not work properly for both edit records they given error. Please find the attachment.

Please provide solutions.
Angel Petrov
Telerik team
 answered on 03 Dec 2014
26 answers
4.3K+ views
Hi,

SelectedIndexChanged event of RadGrid is not fired.
Please help me with an example how to fire SelectedIndexChanged event of RadGrid.


Regards,
Hrushikesh
Kostadin
Telerik team
 answered on 03 Dec 2014
1 answer
66 views
Hello,

I want to integrate Asp.net Ajax with MVC. I am currently using telerik version "2010.3.1109.35"

Here are some queries:

Is it possible?
Are there some limitations?
Any other Solution?

Please provide your feedback.

Thanks
Marin Bratanov
Telerik team
 answered on 03 Dec 2014
4 answers
3.0K+ views
Hi Experts,

                 I need some help for closing a radwindow using javascript when a radbutton is clicked present in the radwindow itself.
Marin Bratanov
Telerik team
 answered on 03 Dec 2014
2 answers
122 views
Hello there

i want to move and control position of textboxlabel under its textbox without effect the lay out of the Captcha its self like attached file
DevMohamed
Top achievements
Rank 1
 answered on 03 Dec 2014
1 answer
331 views
Hello,
I need to find at server side an EditItemTemplate control in a GridTemplateColumn when the data are loaded in a Grid.
The Grid EditMode is set to "Batch":
<MasterTableView GridLines="None" HorizontalAlign="NotSet" CommandItemDisplay="Top"
   EditMode="Batch" AutoGenerateColumns="False" AllowNaturalSort="false">
   <Columns>
                                                 
...............
                                                 
<telerik:GridTemplateColumn HeaderText="Values" UniqueName="Values" DataField="Values">
    <HeaderStyle HorizontalAlign="Center" Width="100px"></HeaderStyle>
    <ItemStyle HorizontalAlign="Center"></ItemStyle>
    <ItemTemplate>
        <%#Eval("Values")%>
    </ItemTemplate>
    <EditItemTemplate>
        <telerik:RadComboBox ID="cbxMyValues" runat="server" Width="80px" AllowCustomText="true" MarkFirstMatch="true" AutoCompleteSeparator=";">
        </telerik:RadComboBox>
    </EditItemTemplate>
</telerik:GridTemplateColumn>
..................
 </Columns>
</MasterTableView>
  
I need to reference the "cbxMyValues" RadComboBox control.
When the ItemDataBound event is fired this code doesn't work because the type of e.Item is "GridDataItem".:
If (TypeOf (e.Item) Is GridEditableItem) AndAlso (e.Item.IsInEditMode) Then
    Dim lgeiCurrent As GridEditableItem = CType(e.Item, GridEditableItem)
    Dim lobjRadComboBox As RadComboBox  = lgeiCurrent.FindControl("cbxMyValues")
End If

Please how can I get the RadComboBox object?
Thank you.

Eyup
Telerik team
 answered on 03 Dec 2014
5 answers
609 views
I'm trying to get a RadComboBox to reload when any of 5 .asp form elements in the page are changed.

For example, I have an asp textbox calender, which, if changed, I want to trigger a reload of a RadComboBox as a change of date changes availability of the options in the combobox.

Is there a simple way of doing this using, say the "onchange" function in the asp form element? Any assistance on the simplest method to achieve this would be welcome.

Thanks in advance.
Conor
Top achievements
Rank 1
 answered on 03 Dec 2014
1 answer
51 views
After updating to Q3 2014 (from Q2 SP1) the export in Excel has been broken for column width for code

// Size columns
t.Columns[column[ColumnIndexer.Base]].Width = 46;
t.Columns[column[ColumnIndexer.Day]].Width = 5.29;

It generates columns with width: 5.86 and 0.42

I could not find any breaking changes in the Q3 release notes, please advise.

​
Kostadin
Telerik team
 answered on 03 Dec 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?