Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
154 views
Hello Everyone,

I'm having trouble in the following situation:

http://demos.telerik.com/aspnet-ajax/pivotgrid/examples/configurationpanel/defaultcs.aspx
On the Demo page I see a CategoryName & ProductName and so on...

In my application I've got the fields names separated with a "_" sign.

i would like to replace the "_" sign with an empty space " ". ex(Category_name => Category name)

I've tried to alter the column caption on databinding of the pivot grid (server side).
I've searched for a event (server side) prior to the Show of the configuration panel -> non existing.

can someone please point me in an other direction to search for the solution?
Maria Ilieva
Telerik team
 answered on 01 Mar 2013
4 answers
185 views
Hi

I need to save an edited image server-side in an SQL database. Apparently this does not work correctly with CanvasMode set to 'yes', but I need this set to yes as I am using the new Drawing tools!

Could you please help me achieve this. Is there a way I can successfully retrieve the edited image server-side while using the drawing tools, if not could you help provide me with a work around that perhaps retrieves the edited image client-side and then executes a server-side function that can reference the retrieved image (i.e. client-side place the image contents in a server control, and then call a server side function to save it in a database)?

Any help would be much appreciated.

Regards, Paul
Paul
Top achievements
Rank 1
 answered on 01 Mar 2013
4 answers
247 views
I have a RadCombobox inside the RadListView ItemTemplate. From RadComboBox SelectedIndexChanged I am trying to update database, but RadCOmbobox value comes back null. 

 protected void ddCustomer_SelectedIndexChanged(object sender, System.EventArgs e)
        {
            RadComboBox ddCustomer = (RadComboBox)RadListView1.FindControl("ddCustomer");
            ---- it shows ddCustomer null. How can I find the control?
           ----- is there anyway, I can reach datakeys from here also?          
        }
Eyup
Telerik team
 answered on 01 Mar 2013
2 answers
87 views
I'm trying to access EditForm controls from a different method on the same page.

I'm using the following method but I keep getting null for GridEditableItem. Help?

Protected Sub NumericTextBoxChanged(ByVal sender As Object, ByVal e As EventArgs)
     
    Dim grid As RadGrid = AddEditQuoteFormView.FindControl("ItemsRadGrid")
 
    Dim editItem As GridEditableItem = CType(grid.MasterTableView.GetItems(GridItemType.EditItem)(0), GridEditableItem)
     
    Dim lengthNumericTextBox As RadNumericTextBox = CType(editItem("Length").Controls(0), RadNumericTextBox)
    Dim length = lengthNumericTextBox.Value
 
    CalculateFreightClass(length, width, height, weight)
 
End Sub
Andrey
Telerik team
 answered on 01 Mar 2013
2 answers
158 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
129 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
161 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
168 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
256 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
273 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?