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

i am binding the data to Radgrid from Client side but now i need to apply sorting and paging also from Client side only. but i am not able to find the solutions for this, here i got little bit code from below urls,in 1st url they written only events but no description for those events i also required same thing,and second url they wirriten every thing from server side same way i want it in client side
 any body please share the code or idea here that would be great....

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

and bleow  link they have written every thing from server side same way i want it in client side
http://demos.telerik.com/aspnet-ajax/grid/examples/client/caching/defaultcs.aspx

thanks
vijay kumar N
Jayesh Goyani
Top achievements
Rank 2
 answered on 02 Sep 2012
0 answers
102 views
I have Button inside a datalist's (datalist1) item Template tag, When this button fires an event, i want to update another datalist (datalist2). datalist2 is inside an Ajax Update Panel.

How can I set up  a UpdatePanel trigger for that button, which is inside datalist1.

Thanks. 
SQazi
Top achievements
Rank 1
 asked on 02 Sep 2012
5 answers
430 views
I can't seem how to figure out how to get correct decimal values in my footer aggregate using Avg as the aggregate method. Here is the column for the aggregate

<telerik:GridBoundColumn Aggregate="Avg" FooterAggregateFormatString="Avg: {0:0.00}" DataFormatString="{0:0}" HeaderText="Age" HeaderStyle-Wrap="false" UniqueName="age" DataField="age" SortExpression="age" Groupable="false"
    <ItemStyle Wrap="false" /> 
</telerik:GridBoundColumn> 

The values that are being averaged are 24, 10, 7, 14. The average comes out as 13.00 when it should come out as 13.75. If I change the FooterAggregateFormatString="Avg: {0:0.00}" to FooterAggregateFormatString="Avg: {0:0}", it rounds down to 13 instead of up to 14.

Can you tell me how to get an accurate average using this method. Thanks.


Jonathan
Top achievements
Rank 1
 answered on 02 Sep 2012
1 answer
187 views
Hi, is it possible to have the treeview similar to what you have for WPF
http://www.telerik.com/community/forums/wpf/treeview/multicolumn-treeview.aspx

I tried using node templates, but the alignment i can't get it right. any tricks/solutions ?



arslanz
Top achievements
Rank 1
 answered on 01 Sep 2012
1 answer
127 views
I am using Radgrid for displaying data & which uses filter columns at the top.
The problem I am having is, some of the column types is "DateTime" & it shows a Calendar control but sometimes the textbox field where DateTime has to be entered or displayed (in case date picked up from Calendar) shows very very small size where users hardly see 1 or 2 digits.

Can somebody throw some light on this? Whats the reason getting the filter box small size for DateTime column? All other filter boxes (with no calendar input) were of normal size at the same time. This happens only for datetime filter on probably specpfic occasions.

Thank you
Jayesh Goyani
Top achievements
Rank 2
 answered on 01 Sep 2012
1 answer
68 views
I guess I should know this, but... I have a grid where every control does not auto-postback. It allows mult-row edit, has dropdowns, date and time pickers, etc. If one of the fields is invalid, like text in a datepicker, I want to disable the Update button. I believe all of this needs to be done on the client side. And I believe I need to funnel all validation through one JavaScript method that determines if there are any validation issues (btn.enabled=allControlsValid;).

But I want to do this in the most performant manner, which rules out server-side validation. ( ? ) There could be a 100 rows in this grid with 30 columns, and maybe 10 of them are editable. I think the user would perceive a delay if I checked 1000 cells on every cell edit. So I'm guessing the check should only be made when focus moves from one row to another.
Can someone guide me in the right direction?

Thanks!
Jayesh Goyani
Top achievements
Rank 2
 answered on 01 Sep 2012
13 answers
262 views
Hi Friends,

I am new to this forum i am working on a project. where A Button click("Show Activity Button") should open a Rad window . In that Rad Window there are four checkBoxes which come from DataBase if we check "Development"( Attached File img1.png) It should go back to the parent page and display what it is there in the attached file "img2.png". If we multi check the Check boxes it should display the fields accordingly. And when we click on Submit button in the parent page it should send it to the database .

Please help me out.

Prashanth
Top achievements
Rank 1
 answered on 01 Sep 2012
1 answer
78 views
Hi Every one.

  I am binding the REST based webservices data(it will return JSON format) to Radgrid from client side using  javascript, now  i have to do Client side sorting & paging  for radGrid but am not able to do that one..if any body as idea or code please post  here that would be great......!!!!!!!!


Thanks
vijay kumar N
Jayesh Goyani
Top achievements
Rank 2
 answered on 01 Sep 2012
5 answers
1.0K+ views
How can I select a single row in Radgrid using checkbox? I am using gridtemplate column to show checkbox in the grid as below. 
<telerik:GridTemplateColumn AllowFiltering="false">
                                            <ItemTemplate>
                                             <asp:CheckBox runat="server" ID="CheckBoxColumn" OnCheckedChanged="CheckBoxColumn_CheckedChanged" AutoPostBack="true" />
                                            </ItemTemplate>
                                            </telerik:GridTemplateColumn>

But here I need to select only a single row in the grid.While checking a checkbox,I need to uncheck the previously checked checkbox in grid.

Please help me on this.
 Thanks,
Soumya

Soumya
Top achievements
Rank 1
 answered on 01 Sep 2012
1 answer
103 views
In the past I've successfully used a single RadWindow on a page.  It works fine.

Now I need to have one RadWindow appear on top of another RadWindow.  Reading through Telerik's documentation I've learned that I need to introduce the RadWindowManager.  I did so but encountered this error: http://www.telerik.com/support/kb/aspnet-ajax/window/cannot-unregister-updatepanel-with-id-updatepanelid-since-it-was-not-registered-with-the-scriptmanager.aspx

There is NO WAY I can get rid of the UpdatePanel in my RadWindow.  It must stay.

So reading the 1st suggested workaround I tried doing this:

<telerik:RadWindowManager ID="rwManager" runat="server" /><br><telerik:RadWindow ID="rwNewMuckpile" runat="server" Behaviors="Move" EnableShadow="true" VisibleStatusbar="false" VisibleTitlebar="false" AutoSize="true" Modal="true"><br>  <ContentTemplate><br>    <asp:UpdatePanel ID="UpdatePanel2" runat="server"><br>      <ContentTemplate><br>        <div class="dialogHeader"><br>          Move Muck<br>        </div><br>        .<br>        .<br>        .<br>

But it just produced another error: "Microsoft JScript runtime error: Sys.InvalidOperationException: Two components with the same id 'ctl00_ContentPlaceHolder1_Mucking_rwNewMuckpile' can't be added to the application."

So what should I do?

Robert



Robert
Top achievements
Rank 1
 answered on 31 Aug 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?