| function radWindowMemo_OnClientClose(window) |
| { |
| alert(window.argument); // it shows the correct ClientID! var f = window.BrowserWindow.$find(window.argument); // f is not defined! |
| // ... Paste f.value in other RadTextBox |
| } |
| SANNIDHI |
| Posted on Jul 11 |
| I posted this post on Jul11 there is no reply.. IS telerik will supprt Export to PDf in Multicolumn Headers?????????????????????? No support Say NO?????????????? okkkkkkkkkkkkk |
| Hi, |
| I want to export to pdf in TelerikGrid.I am using follwing code |
| < |
| telerik:GridBoundColumn DataField="Partner Name" UniqueName="PartnerName" HeaderText="PartnerName" |
| HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="left"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="Rank" UniqueName="Rank" HeaderStyle-HorizontalAlign="Center" |
| ItemStyle-HorizontalAlign="Right" HeaderText="Rank"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="Rank1" UniqueName="Rank1" HeaderStyle-HorizontalAlign="Center" |
| ItemStyle-HorizontalAlign="Right" HeaderText="Rank1"> |
| </telerik:GridBoundColumn> |
| <telerik:GridTemplateColumn UniqueName="Column1" InitializeTemplatesFirst="true"> |
| <HeaderTemplate> |
| <table id="Tabfy08" cellspacing="0" style="width: 100%;"> |
| <tr> |
| <td colspan="2" align="center"> |
| <b>COULMNSHEADER</b> |
| </td> |
| </tr> |
| <tr> |
| <td style="width: 50%; border-style: none;" align="center"> |
| <asp:Label ID="lblfy08" Text="Rank" runat="server" /> |
| </td> |
| <td style="width: 50%; border-style: none;" align="center"> |
| <asp:Label ID="lblesa08" Text="Rank1" runat="server" /> |
| </td> |
| </tr> |
| </table> |
| </HeaderTemplate> |
| <ItemTemplate> |
| <table cellspacing="0" width="100%" class="myTable"> |
| <tr> |
| <td style="width: 50%"> |
| <% |
| # Eval("Rank")%> |
| </td> |
| <td style="width: 50%"> |
| <% |
| # Eval(" Rank1")%> |
| </td> |
| </tr> |
| </table> |
| </ItemTemplate> |
| <ItemStyle HorizontalAlign="Center" /> |
| </telerik:GridTemplateColumn> |
| I want to export to pdf which has template columns. |
| For that i am using following code |
| MYGRID.ExportSettings.ExportOnlyData = |
| true; |
| MYGRID.ExportSettings.IgnorePaging = |
| true; |
| MYGRID.ExportSettings.OpenInNewWindow = |
| true; |
| MYGRID.MasterTableView.HierarchyDefaultExpanded = |
| true; |
| MYGRID.ExportSettings.ExportOnlyData = |
| true; |
| MYGRID.MasterTableView.ExportToPdf(); |
| In Button Click Event............... |
| But i am not getting the result of template columns in PDF.. |
| Is Telerik Grid Support this????????????????Please Clarify this ASAP..ASAP |
| Thanks in Advance |
| SANNIDHI |
http://img520.imageshack.us/i/radcolorpicker.png/
Also, the colorpicker tag i have given in the design page is
<telerik:RadColorPicker runat="server" ID="RadColorPicker" ShowIcon="true">
Do I have to add anything to make it look perfect (i.e.,) It does not overlap the ASP menu dropdown. Or is this a bug from your side?
Hoping to get an early reply.
Thank you in Advance.
Cheers,
Raj Maverick.
| protected void Page_Load(object sender, EventArgs e) |
| { |
| if ((Label1.Text == "<script>CloseWin();</script>") |
| || (Label1.Text == "")) |
| { |
| Label1.Text = "<script>MaximizeWin();</script>"; |
| } |
| else |
| { |
| Label1.Text = ""; |
| } |
| } |
| function MaximizeWin() { |
| var oWindow = GetRadWindow(); |
| oWindow.maximize(); |
| } |
| function CloseWin() { |
| var oWindow = GetRadWindow(); |
| oWindow.Close(); |
| } |
This works to maximize R2; however, after I close R2 (setting the label's text equal to a javascript function CloseWin()) and then click the link button again, R2 opens maximized for like half a second and then moves. Instead of the top left corner of R2 being in the top left of the parent page, it is now in the center of the parent page. I'm not sure why this happens when opening R2 as there is another link button on R1 that opens another Radwindow (R3) the same way, and R3 always opens up maximized and never moves after opening. I'm really confused because R3 works fine because I created R2 by copying and pasting everything I used to make R3, with the exception of the NavigateURL's of the RadWindows.
If any more info is needed, please let me know.
Thanks

My problem is that when the group spans 2 pages I get the totals at the end of the partial group on the first page and then totals again for the second half of the partial group on the next page.
Is there any way I can either add another row to the totals to put in the entire totals for the split group or dynamically change the page size so that a split group is no longer split but included on one page?
Any help is appreciated - thanks!
joni