Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
337 views

I am having a RadButton control in  form and datepiccker Date is mandatory .
not selected the date the alert shown plz select date and one more alert come again are you sure?
when i was click on ok button saved successfully with out date but  validation failed, Removevalidationgroup working fine
how to do this on client side Is page is Valid ?

Here is the code give me any valuable suggestions 
aspx
 <telerik:RadButton ID="btnSave" runat="server" Text="Save"  OnClick="btnSave_Click" OnClientClicking="RadConfirm" ValidationGroup="dbgrpMandate"></telerik:RadButton>

js
 //RadConfirm
        function RadConfirm(sender, args) {
            var callBackFunction = Function.createDelegate(sender, function (shouldSubmit) {
                if (shouldSubmit) {
                    this.click();
                }
            });

            var text = "Are you sure ?";
            radconfirm(text, callBackFunction, 250, 120, null, "radConfirm");
            args.set_cancel(true);
        }
Danail Vasilev
Telerik team
 answered on 29 Jan 2014
7 answers
252 views
When using a required validator with the autocompletebox I may have come across a issue.  After the control is initially rendered to the page and you try to submit the validator will show correctly that the user didn't enter a value.  However if the user enters a value/selects item and then removes it leaving an empty box the validator will no longer fire because it thinks the autocompletebox is populated.

To give background I am using Asp .Net 4.5 and the new unobtrusive validation on the client side.  I am more concerned about this issue on the client side validation currently then on the server side.  

I came across this post and didn't know if it would apply or not.
Bozhidar
Telerik team
 answered on 29 Jan 2014
1 answer
53 views
How do you change the text within the ColumnHeaders?  Our application is multi-lingual and I cannot find a way to apply custom text.
Plamen
Telerik team
 answered on 29 Jan 2014
1 answer
252 views
If I adjust the Scatter Chart demo and give the Y axis a minimum value of -20, the X axis still crosses at zero as expected. However, the X axis labels "move" too - in the sense that they stay close to the axis, rather than remaining at the bottom of the chart. I see that I could move both the X axis and its labels back to the bottom of the chart by setting a Y axis crossing value of -20 as well.

Is there a way to leave the X axis crossing at zero, but move the X axis labels back down to the bottom of the chart?  For example, in Excel this can be accomplished by changing the Axis labels property from Next to Axis to Low.

I find that if I have multiple RadHTMLCharts near one another on a page, they are more attractive if I can keep all the labels at the bottom of their respective charts, even if the minimum values differ.
Stamo Gochev
Telerik team
 answered on 29 Jan 2014
3 answers
756 views
Hi,

I am trying to call a Javascript function which will trigger a 'loading screen' when user clicks on controls on the RadGrid Pager, which includes changing the page index or page size.

There is no 'OnPageIndexChanging' or 'OnPageSizeChanging' events from RadGrid which would be able to handle these. Is there any way else I can achieve the above?

'OnPageIndexChanged' or 'OnPageSizeChanged' doesn't work as it is only triggered when the grid has finished loading.

Thanks.
Princy
Top achievements
Rank 2
 answered on 29 Jan 2014
9 answers
270 views
I have a radgrid that allows a user to add/update.

The table has about 15-20 columns.  When in edit/add mode 2 of these columns labels are left aligned instead of right aligned?

These are both on  GridTemplateColumn columns.  Has anyone seen this before?

Here is one of the columns.

<telerik:GridTemplateColumn DataField="sGender"
           FilterControlAltText="Filter sGender column" HeaderText="Gender"
           SortExpression="sGender" UniqueName="sGender">
           <EditItemTemplate>
                
               <telerik:RadDropDownList ID="ddlGender" runat="server" SelectedValue='<%# Bind("sGender") %>' DataValueField="sGender">
               <Items>
                   <telerik:DropDownListItem runat="server" Text="Male" Value="M"/>
                   <telerik:DropDownListItem runat="server" Text="Female" Value="F"/>
               </Items>
               </telerik:RadDropDownList>
 
 
 
           </EditItemTemplate>
           <ItemTemplate>
               <asp:Label ID="sGenderLabel" runat="server" Text='<%# Eval("sGender") %>'></asp:Label>
           </ItemTemplate>
       </telerik:GridTemplateColumn>
Linda
Top achievements
Rank 1
 answered on 29 Jan 2014
1 answer
422 views
I'm having a problem when adding detail tables to a radgrid from code behind. I'm adding the detail tables from page_load, but they do not show up until another ajax postback.

What i want to happen, is i add a record in the radgrid. on postback, a detail table needs to be added to the table if one does not already exist. if i refresh the grid, or do any sort of postback, the expand column shows up, but it will not show up when i first add the detail table.

Basically what i need to do is rebuild the grid it looks like, just grid.rebind() will not do the trick, as it seems rebind will rebind the data, but not the structure

Thanks!
Princy
Top achievements
Rank 2
 answered on 29 Jan 2014
9 answers
186 views
I'm using Radeditor for ASP.NET AJAX Q3 2009.  Works fine in IE and Firefox, but in Chrome and Safari users are not able to change the font size, style or apply CSS classes.  What can I do to make this work?
Ianko
Telerik team
 answered on 29 Jan 2014
1 answer
105 views
something like radDropDownTree.AllNodesChecked == true.

Thanks!
Shinu
Top achievements
Rank 2
 answered on 29 Jan 2014
5 answers
515 views
hi!

i currently have checkboxes only allowed on child nodes, but when the user clicks on the parent name it automatically checks all child nodes. how can i set the tree, so that the user cannot click on the parent node names, or is able to click, but i don't want the child node checkboxes to all get checked automatically.

the user needs to check the boxes manually one by one.

hope i explained it right.


<telerik:RadTreeView ID="rtvLabs" runat="server" CheckBoxes="true" Skin="Outlook"
                      TriStateCheckBoxes="true" CheckChildNodes="false" SingleExpandPath="true"
                      OnClientNodeChecked="ClientNodeChecked" OnClientNodeClicked="ClientNodeClicked">
                  </telerik:RadTreeView>

in the back end i am setting the nodes as checkable=false; if they are a parent  which gets rid of the checkbox itself, 
, but i guess that isn't enough? how do i prevent the user from selecting ALL child nodes by simply clicking on the parent name?
Shinu
Top achievements
Rank 2
 answered on 29 Jan 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?