Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
150 views
Hi,
Instead of a LoadingMessage = "Loading..." , I would like to add a spinning.gif in combobox. Is it possible???   
Karthik
Top achievements
Rank 1
 answered on 01 Mar 2013
1 answer
112 views
Hi ,

I am binding treenodes using webmethod and having following clientitemtemplate
<ClientNodeTemplate>
<
span id="#=Value#_span">#=Text#</span>
<
input type="text" value="#=Text#" style="display:none;width:100px;" id="#=Value#_txtEdit" ></input>
</ClientNodeTemplate>


I am showing/hiding  input control using javascript.

When I am editing the name in input control it is not accepting space bar (blank space)

I have also tried following solution provided in your forums
   OnClientLoad="clientLoad"

    function clientLoad(sender) {
            $telerik.$("input", sender.get_element()).on('keydown', function (e) {
                if (!e) var e = window.event;
                e.cancelBubble = true;
                if (e.stopPropagation) e.stopPropagation();
            });
        }

Please help for the same

Thanks ,
Somnath
Bozhidar
Telerik team
 answered on 01 Mar 2013
5 answers
154 views
Hi
I have a master page and sevral content page in my project.
after i send my postback and call MasterAjaxManager_AjaxRequest my master page i need call a function in content page but i dont find any solotion.
in all document resolve send AjaxRequest to master page but What i do for send AjaxRequest to content page.also i use AjaxManager.IsAjaxRequest in my content to detect any request but how can determine what is request arg.

in other solotion i call a client function and after that call another functiopn in content page.then send a querystring to my content and detect that in Page_Load. but it not work good.
mohammad farahani
Top achievements
Rank 1
 answered on 01 Mar 2013
1 answer
155 views
Good day,

 I have an issue regarding the rgHeaderDiv. When the page appears, my radgrid header looks fine.
(img1)

But after the page loads, the rgHeaderDiv generates an inline css of padding-right: 16px and margin-right: 17px
resulting my radgrid header to have a white space at the right.
(img2)

Is there a way of removing the padding-right and margin-right after the grid loads or binds the data?

thanks,
Neal
Galin
Telerik team
 answered on 01 Mar 2013
2 answers
248 views
Hi Team,

I had created 2 nested radgrid (with NestedViewTemplate method),  the mother grid contains 2 fields, team leader textbox and radcombox,
each mother grid has corresponding child grid with checkbox and the team member textbox. 

I want to update the items in mother grid for those checked items in child grid however the child grid turned out totally disappeared. 
I want to keep the child grid expanding and the checked box remains while I am updating the mother grid.  How can I do that.  Please advise.

Please find the photos for your reference.

Thanks.
Patrick
Patrick
Top achievements
Rank 1
 answered on 01 Mar 2013
3 answers
252 views

Hello guys,

 

I am facing a weird issue that I am able to reproduce on you demo page (with Chrome and Firefox).

Basically sometime the get_selectedItem() method return null while an item has been checked.

 

Here is the way to reproduce it:

Go to the WCF load-on-demand demo here:

http://demos.telerik.com/aspnet-ajax/combobox/examples/loadondemand/wcf/defaultcs.aspx

 

With your mouse, click on the arrow of the RadCombobox to display to the drop down panel and select for example the third item ‘Ana Trujillo’.

The drop down panel closes.

Now in the console of the browser’s developer tool, type:

$find("ctl00_ContentPlaceHolder1_RadComboBox1").get_selectedItem()

You can notice the returned value is not null.

 

Then click again on the arrow to show the drop down panel and after that directly click on ‘Annette Roulet’.

The drop down closes again.

Go back to the console et re-evaluate the selected item.

You can notice the returned value is null whereas an item is graphically selected.

 

Are you aware of that?

Do you know a workaround?

 

Regards

Boyan Dimitrov
Telerik team
 answered on 01 Mar 2013
1 answer
94 views
(I'll swear I've seen this before....)

I have a RadGrid with header and detail form template popup editing.

In the ItemDataBound event, in the edit mode detail section I have a line to set the CaptionFormatString:

             RadGrid1.MasterTableView.DetailTables[0].EditFormSettings.CaptionFormatString = "Edit Detail Id " +  editableItem.GetDataKeyValue("DetailId").ToString() + " for Ticket "+ iHeaderId.ToString();

So far as I can tell this is getting hit every time I edit a detail.

However the first time I'm in the screen and the first time I try to edit a detail record, the popup caption goes to whatever's set in the Aspx rather than what's set in code.  The rest of the time the caption displays as desired.
            
Shinu
Top achievements
Rank 2
 answered on 01 Mar 2013
1 answer
121 views
I have a drop down list in a radgrid and on edit mode or insert mode it needs to load it.  That's all taken care of however what it does in insert mode is loads the dropdown list with both SQL statements, and I am rather perplexed of why this happens since they are 2 different modes of The grid.

Protected Sub myRadGrid_ItemDataBound(sender As Object, e As GridItemEventArgs) Handles myRadGrid.ItemDataBound
       If (TypeOf e.Item Is IGridInsertItem AndAlso e.Item.IsDataBound) Then
           Dim Region As DropDownList = DirectCast(e.Item.FindControl("ddlRegion"), DropDownList)
           sql = "Select intRegionID, strRegionCode from Region where bitActive = 1"
 
           Region.Items.Add(New ListItem("Pick Region", "0"))
           buildDD(sql, Region)
       End If
 
       If (TypeOf e.Item Is GridEditFormItem AndAlso e.Item.IsInEditMode) Then
           Dim Item As GridEditFormItem = DirectCast(e.Item, GridEditFormItem)
           Dim Region As DropDownList = DirectCast(Item.FindControl("ddlRegion"), DropDownList)
 
           sql = "Select intRegionID, strRegionCode from Region"
 
           Region.Items.Add(New ListItem("Pick Region", "0"))
           buildDD(sql, Region)
 
           Region.SelectedValue = DirectCast(DataBinder.Eval(e.Item.DataItem, "intRegionid").ToString(), String)
 
       End If
   End Sub

So when in insert mode it shows the resulsts of both sql statements and not just the

IGridInsertItem mode.

 

 

Shinu
Top achievements
Rank 2
 answered on 01 Mar 2013
1 answer
85 views
i m using telerik rad grid. i show data in this upto 2 level hier.
1level group heading working? but 2level which comes under 1st level not working well? why
i create heading with 2 column one for showing sum of column data. and one for count .
Kostadin
Telerik team
 answered on 01 Mar 2013
1 answer
81 views
Hi all,
the telerik I have was bought in year 2010, where or how to get/download the latest controls?
Shinu
Top achievements
Rank 2
 answered on 01 Mar 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?