Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
408 views
I want to call a javascript function when a radButton receives focus by tabbing onto the control.  Similarly, call a javascript function when radButton loses focus.  How can this be accomplished?
Mark
Top achievements
Rank 1
 answered on 04 Mar 2013
11 answers
615 views
I am working in C# for ASP.NET in Visual Studio version 2008.  I recently updated my environment to include the following:$0* 3.5 .NET Framework Service Pack.$0$0* 2008-08-20 release of the AJAX Control Toolkit.$0$0$0$0$0As soon as I made the upgrades listed above I started to receive the following message: 'ASP.NET Ajax client-side framework failed to load.'$0$0$0$0$0The error occurs due to the presence of the Telerik RadScriptManager control on a page.  If I replace that control with the standard AJAX ScriptManager control the error goes away.$0$0$0$0$0Any information you could provide would greatly be appreciated.$0$0$0$0$0Thank You,$0$0$0$0$0David Nowak.$0
Travis
Top achievements
Rank 1
 answered on 04 Mar 2013
3 answers
231 views
I'm using a RadGrid, and I'm able to show and hide columns using client-side script:

 

mygrid.get_masterTableView().hideColumn(i);

But, when I hide the column, it leaves a blank space where the column was located. Is it possible to have the remaining columns automatically resize and fill the empty space?

If this isn't possible, can I manually resize the remaining columns? I've tried the following script to set the hidden column width to zero, but it doesn't have any affect:

mygrid.get_masterTableView().resizeColumn(i, 0);

Sophie
Top achievements
Rank 2
 answered on 04 Mar 2013
9 answers
500 views
Is there a way to send tokens such as OAuth2 with the call to the ODataService?

I can see that there may be a way of injecting headers in the client-side event

OnRequesting but only if these are exposed in the args.set_Options object.



Thanks

Gary
Genady Sergeev
Telerik team
 answered on 04 Mar 2013
5 answers
600 views
I have a radgrid placed on a web form that uses PeterBlum's RequiredValidator and CustomValidator to validate some data on the page. 
I would like to validate the web form data before performing an Insert or Update on the grid.   
I am using radgrid's automatic insert and update actions.

The following approach succeeds in preventing the insert form from loading if the validation fails, but doesn't continue on to displaying the validation messages.
Any suggestions?
Protected Sub Grid_ItemCommand(source As Object, e As GridCommandEventArgs) Handles PreferredMediaEditableGrid.ItemCommand
 
    Select Case e.CommandName
 
      Case RadGrid.InitInsertCommandName
 
        PeterBlum.DES.Globals.Page.Validate()
        If Not PeterBlum.DES.Globals.Page.IsValid Then
 
          ' cancel automatic insert.
          e.Canceled = True
 
        End If
 
    End Select
 
  End Sub
Angel Petrov
Telerik team
 answered on 04 Mar 2013
1 answer
116 views
Hi
I have a reset button on a form with the following client-side code to clear the grid:

var view = $find('grd').get_masterTableView();
view.set_dataSource([]);
view.dataBind();


This works great but the NoMasterRecordsText is not shown on reset. This is set as follows in the MasterTable view:

ShowHeadersWhenNoRecords="true"
NoMasterRecordsText="No data available matching the supplied search criteria."

Perhaps somebody could shed some light on how to achieve this

Regards

Daniel Affleck
Daniel
Top achievements
Rank 1
 answered on 04 Mar 2013
4 answers
125 views
Are there any plans to make the rotator touch enabled?  

All of my customers expect touch enabled components, especially for this type of control.

Thanks, Marty
moegal
Top achievements
Rank 1
 answered on 04 Mar 2013
1 answer
45 views
Hi - i have a requirement very similar to what is achieved in http://demos.telerik.com/aspnet-ajax/listview/examples/itemdragdrop/defaultcs.aspx.

However, the main difference in my case is that the control to which i would drop my items (equivalent of Genre list shown in the right in the above link) is located in the master page and my list view is located in the content page.

When i drag the listview item onto the masterpage control, the destination is null. I used 
args.get_destinationItem()
in
OnClientDropped
event to get the destination item. If i drag the listview item onto any other control in the same page, the destination gets the proper value.

Is there a work-around to this problem. Am i missing something here?

Thanks.
Pavlina
Telerik team
 answered on 04 Mar 2013
7 answers
259 views
Hi,
I've recently upgraded my application to telerik version 4.0 and noticed that the style of my application combobox automatically changed.
I'm using "Vista" skin and apparently they've changed it in the core so now it's different

OLD VERSION Style


NEW VERSION Style


Is the old skin still available or is it anyway to apply the same settings manually?

Thank you in advance,

Marcelo
Helen
Telerik team
 answered on 04 Mar 2013
3 answers
523 views
Is it possible to load an Xml file into a RadGrid for web display purposes. I tried loading an xml file into a DataSet and assigning that to a RadGrid's DataSource but it only displays one level.

I will not know what the content of the xml files will be so can't specifically add fields to the grid ect.

Is this possible?
Radoslav
Telerik team
 answered on 04 Mar 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?