This is a migrated thread and some comments may be shown as answers.

telerikscirpt and microsoft script

15 Answers 77 Views
Grid
This is a migrated thread and some comments may be shown as answers.
appdev
Top achievements
Rank 1
appdev asked on 23 Oct 2008, 07:26 PM
if i want to use update panel from microsoft ajax and this gridview from telerik how do i include 2 script managers?

15 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 24 Oct 2008, 07:18 AM
Hello Duy,

You don't need to use two ScriptManagers. Just choose either RadScriptManager or regular ScriptManager control.

Regards,
Daniel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
appdev
Top achievements
Rank 1
answered on 24 Oct 2008, 10:52 AM
can i increase the timed out expired on the grid?
0
Daniel
Telerik team
answered on 24 Oct 2008, 12:19 PM
Hello Duy,

Please let us know which timeout you are referring to?

Regards,
Daniel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
appdev
Top achievements
Rank 1
answered on 24 Oct 2008, 12:59 PM
the time out on the grid it self. because i have already done this in the we.config and adapter

<

httpRuntime executionTimeout="100000000" />

 

adapter1.SelectCommand.CommandTimeout = 100000000
it was ok for me to get to the parent and the first child in the grid. but once i get into the second child, it gets time out.. this is the error that i got.

sys.webforms.pagerequestmanagertimoutexception: the server request timedout.

0
Daniel
Telerik team
answered on 24 Oct 2008, 01:11 PM
Hello Duy,

Please try to set AsyncPostBackTimeout property of your ScriptManager approach:
<telerik:RadScriptManager ID="RadScriptManager1" runat="server" AsyncPostBackTimeout="600" /> 

Regards,
Daniel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
appdev
Top achievements
Rank 1
answered on 24 Oct 2008, 01:35 PM
i will try that now and see what happen but one more question how come when i expand the grid, it never completed drawing the line for the box inside. the left side line always missing like this. it never completes it. could you please tell me why? thank you very much
----
|
----
0
Daniel
Telerik team
answered on 24 Oct 2008, 01:45 PM
Hello Duy,

Could you please provide a simple demo illustrating this behavior? You can attach it to a formal support ticket in order to be examined locally.

Thank you for your cooperation.

Regards,
Daniel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
appdev
Top achievements
Rank 1
answered on 24 Oct 2008, 01:49 PM
i just looked at the demo again and it seems to me the reason that cause the issue is because i only have one column in the childgrid. so it doesn't look nice. so if i have only one column how do i expand the size of it to the end of the table  thank you.
0
Daniel
Telerik team
answered on 24 Oct 2008, 02:01 PM
Hello Duy,

Please try to set Width="100%" to your GridTableView:
<MasterTableView> 
    <DetailTables> 
        <telerik:GridTableView Width="100%"
        </telerik:GridTableView> 
    </DetailTables> 
</MasterTableView> 

Regards,
Daniel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
appdev
Top achievements
Rank 1
answered on 24 Oct 2008, 02:04 PM
and if i were to export this to excel, would i still have all the function of the Hierarchy with DetailTableDataBind event
0
Daniel
Telerik team
answered on 27 Oct 2008, 02:46 PM
Hello Duy,

Could you please provide more details about the desired functionality?

Regards,
Daniel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
appdev
Top achievements
Rank 1
answered on 27 Oct 2008, 02:55 PM
when i tried to export to excel it only export on the first data not all
say i have something like this
+ store 1
    - number 1
        * text
    - number 2
        * text
+ store 2
 samething as store 1


so when i do export the data, 

RadGrid1.MasterTableView.ExportToExcel()

i only get store1, store 2 and nothing else. could you help me. thanks i did use paging ignore.

0
Princy
Top achievements
Rank 2
answered on 28 Oct 2008, 05:11 AM
Hello,

Can you try setting AllowPaging attribute of the grid to false and then rebind the grid as shown below:
cs:
protected void ExportButton_Click(object sender, EventArgs e)   
    {   
      RadGrid1.MasterTableView.HierarchyDefaultExpanded = true;          
      RadGrid1.AllowPaging = false;    
      RadGrid1.Rebind();     
   
      RadGrid1.MasterTableView.ExportToExcel();    
    }   

Thanks
Princy
0
Daniel
Telerik team
answered on 28 Oct 2008, 03:49 PM
Hello Duy,

Please let us know whether you managed to overcome the issue. Alternatively you can try to export to ExcelML format as shown below:
<ExportSettings IgnorePaging="true" ExportOnlyData="true" Excel-Format="ExcelML"
</ExportSettings> 

Regards,
Daniel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
appdev
Top achievements
Rank 1
answered on 29 Oct 2008, 02:36 AM
thank you all for helping, i will try this as soon as my function is up and running. i'm currently working on that now so that i can have automatic webpage that generates grid automatically base on the number of records that i have in the database. i will let you guys know the result. thank you very much
Tags
Grid
Asked by
appdev
Top achievements
Rank 1
Answers by
Daniel
Telerik team
appdev
Top achievements
Rank 1
Princy
Top achievements
Rank 2
Share this question
or