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

I have a classig many2many relationship...

Order
Order2Item
Items

I need my grid to display orders, but i also want all items in an Order to be shown in the mastergrid. I figured i would use a listbox but i cant seem to find an example how this is done. Any suggestions?
Schlurk
Top achievements
Rank 2
 answered on 09 Mar 2010
1 answer
62 views
When I set the column width with HeaderStyle property with the below statement, the columns are rendered 200 pixels with IE8, Firefox, Opera and Safari but 216 pixels with IE7. I am using 2009 Q2 SP2 and I am using WebBlue skin.

<HeaderStyle Width="200px" />

If you check column width of the below radgrid example first with IE8 and than with IE7 compatibility view you'll see what I mean.

http://demos.telerik.com/aspnet-ajax/grid/examples/client/scrolling/defaultcs.aspx

Thank you...
Dimo
Telerik team
 answered on 09 Mar 2010
1 answer
140 views
How do you answer the question - why does controls like an Text box generate (such horrible html) of tables instead of a <input text box.
Its no good saying cos it can connect to a WCF source or do google style predictive searches.
What we have done is to have a designer is to look at the rendered HTML+css and then alter the .ri classes.
I know I could use the form decorator for some but there seems to be a lack of understanding of the benefit of using say the RadInput controls.
The most irritating is to create a search text box with a seprate button, or a input box with error icons next to it or a checkbox with label centered and error icon (eg you must tick the T&Cs) all in a line, eg text-align.
The bit about internationalization or accessiblity its stony ground.

What can you suggest?
Dimo
Telerik team
 answered on 09 Mar 2010
1 answer
145 views
Hello,
how can i serialize a RadTreeNode on server-side to JSON? On client side there is a method toJsonString() but on server-side this function is missing.

with best regards
Meik Napierski
Dimitar Milushev
Telerik team
 answered on 09 Mar 2010
9 answers
421 views
My situation is that I want the time of the DateTimePicker can be filled with 23:59 when the user only use the popup calendar to select a date but haven't selected the time in the TimeView. And the user can also type in the datetime in the textbox to change the value, but in this case won't fill in 23:59. Can anyone have any solution? Thanks.
Pavlina
Telerik team
 answered on 09 Mar 2010
5 answers
238 views
Hi,
      I am using NestedGrid, i have parent grid and it has the nested grid that is child grid. Both grid has the functionality of editing with EditPopup window. I used the "PopUpShowing"  event commonly for both grid in order to place the Popup in center. I used the DIV elements to place and bind the controls inside the EditFormTemplate section

My question is when the PopUp is showing once edit button is clicked  I just want to get the DIV prperties of EditFormTemplate section of the corresponding PopUp window regardless parent or nested grid.

My purpose is the setting the PopUp height and width dynamically based on the container or DIV height and width. Because I already told the DIV used the place the controls, the DIV has its width and height property.So i just want to take this width and height values for dynamic operation

So is there any possible ways please let me know.

-Thanks in Advance
John John
Top achievements
Rank 1
 answered on 09 Mar 2010
4 answers
120 views
I've just (finally!) implemented a client-side Ajax refresh to a RadGrid.  This is very cool!

I wanted to handle client-side sorting via Ajax without triggering a postback.  I did this by adding an "OnCommand" client event.  I check to see if the command name is "Sort".  If it is, I do a set_cancel(true) so there's no postback, then I simply call the Javascript routine that triggers the Ajax refresh.  Since it's already passing filter/sort data, it works great!  The sort information is passed to the web service where I sort the data, and the data comes back sorted.  The grid even updates the column header with the sort icon.

The problem occurs when I have an initial sort on the grid on the server.  The page loads with the grid populated and sorted.  If I click on the already sorted column, it does the client-side routine to sort, but it adds a SECOND sort icon.  No matter what I do, that original sort icon is already there.  It acts as though it's part of the label.

Related to this, I had to set EnableSkinSortStyles to false as the style was applied to the originally sorted column and didn't change as the sort column changed.

Is there a way to address these issues?

Thank you.
Iana Tsolova
Telerik team
 answered on 09 Mar 2010
1 answer
172 views
Hi Telerik team,

I'm working with rad tab strip in  my application.
where i'm not able to apply the css for tabs.
Here i'm attaching Current design pattern and expected design pattern.

please help me by giving the solution.


Regards,
Surya Murthy
Schlurk
Top achievements
Rank 2
 answered on 09 Mar 2010
1 answer
281 views
Hello
i m Using TabStrip I Don't want Bottom Border in Tabstrip.
How can i do that.
Schlurk
Top achievements
Rank 2
 answered on 09 Mar 2010
1 answer
201 views
Hi,

I m using radgrid for my application.

and i need to pass a dataset or datatable from webservice to bind radgrid using javascript.

i have worked with your sample also and i have used following code snippet,

In webservice

 

public DataSet HelloWorld()

 

{

 

 

 

DataTable datatable = (DataTable)Session["oInstallationInfo"];

 

 

DataSet ds = new DataSet();

 

 

 ds.Tables.Add(datatable);

 

return ds;

 

}

and
in aspx page

 

function

 

ReceiveServerData(rValue)

 

{

 

 

  

 

xtenzasolutions.WebService1.HelloWorld(updateGrid,OnError);

alert(rValue);

 

 

}

 

function

 

OnError(result)

 

{

alert(

"Error : "+result.get_message());

 

}

 

 

 

 

 

function updateGrid(result,userContext)

 

{

 

debugger;

 

alert(result);

 

var tableview= $find("<%= rgDetails.ClientID %>").get_masterTableView();

 

tableview.set_dataSource(result);

tableview.dataBind();

}

I m getting the error 'Circular Reference was detected'. Please find the error page with this message.

Please give any suggestions.

Thanks in advance.

Regards,
Feroz

BaiH
Top achievements
Rank 1
 answered on 09 Mar 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?