Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
124 views
Hi,

Is there a way to avoid the title bar from the radwindow?

Regards

Sujith
VS
Top achievements
Rank 1
 answered on 25 Aug 2008
6 answers
183 views
Telerik Support,

I am refering the sample to export from grid to PDF at http://www.telerik.com/DEMOS/ASPNET/Prometheus/Grid/Examples/GeneralFeatures/PdfExport/DefaultCS.aspx

But its not working for me as desired. Below is my code, when I click on the PDF, data is not exported to pdf and the PDF button disappears. 

<

telerik:RadGrid ID="gd" runat="server" AllowPaging="True" AllowSorting="True" GridLines="None"

Skin="Office2007" AutoGenerateColumns="False" OnItemDataBound="gd_ItemDataBound"

Height="100%" Width="100%" PageSize="5" AllowMultiRowSelection="true">

<ExportSettings IgnorePaging="false" OpenInNewWindow="true" ExportOnlyData="true">

<Pdf AllowAdd="false" AllowCopy="true" AllowModify="true" AllowPrinting="true" Author="Anonymous"

Keywords="None" PageBottomMargin="1in" PageLeftMargin="1in" PageRightMargin="1in"

PageTopMargin="1in" PageTitle="Status Result Export" Subject="Status Result Export"

Title="Status Result export" PaperSize="Letter" />

</ExportSettings>

<%

--<PagerStyle Mode="NextPrevAndNumeric" Position="Bottom" NextPageText="Next" PrevPageText="Prev" />--%>

<ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"

Font-Underline="False" VerticalAlign="Top" Wrap="True" Height="100%" Width="100%" />

<MasterTableView Height="100%">

<RowIndicatorColumn Visible="False">

<HeaderStyle Width="20px" />

</RowIndicatorColumn>

<ExpandCollapseColumn Resizable="False" Visible="False">

<HeaderStyle Width="20px" />

</ExpandCollapseColumn>

<PagerTemplate>

<div style="display:'block'">

<asp:ImageButton ID="ExportToPDF" Style="cursor: pointer;" ImageUrl="~/App_Themes/Pdf.png"

AlternateText="Export to PDF" CommandName="ExportToPdf" runat="server"></asp:ImageButton>

</div>

</PagerTemplate>

<Columns>

<

telerik:GridTemplateColumn HeaderText="Item #" ItemStyle-Width="10%" ItemStyle-VerticalAlign="Top">

<ItemTemplate>

<asp:Label ID="lblItemNbr" runat="server"></asp:Label>

<asp:TextBox ID="txtEnrtaskId" CssClass="HideLabel" runat="server" Width="0px" Height="0px"></asp:TextBox>

</ItemTemplate>

<ItemStyle VerticalAlign="Top" Width="10%"></ItemStyle>

</telerik:GridTemplateColumn>

</

Columns>

<EditFormSettings>

<PopUpSettings ScrollBars="None" />

</EditFormSettings>

</MasterTableView>

<ClientSettings AllowColumnsReorder="True" ReorderColumnsOnClient="True" AllowKeyboardNavigation="true">

<ClientEvents OnRowContextMenu="gdRowContextMenu" />

<Selecting AllowRowSelect="True" EnableDragToSelectRows="true" />

<Scrolling AllowScroll="False" UseStaticHeaders="False" />

<Resizing AllowColumnResize="True" ResizeGridOnColumnResize="True" EnableRealTimeResize="True">

</Resizing>

</ClientSettings>

</telerik:RadGrid>

Could you please advice if I am missing anything here ?
Het
Top achievements
Rank 1
 answered on 25 Aug 2008
1 answer
122 views
I have a grid on my page with some add/edit functions happening in a RadWindow control.  I'd like to execute an AJAX request to re-bind the grid when a user closes the RadWindow.  Can someone point me to a simple example of this?

I have a javascript function firing when the RadWindow closes and I tried to do:
        function windowClose() { 
            var ajaxManager = $find("<%# RadAjaxManager1.ClientID %>"); 
            ajaxManager.AjaxRequest('Rebind_rgGallery'); 
        } 


Where Rebind_rgGallery is a simple function to rebind the grid by overriding the raisepostbackevent.  When the script executes though, I get an 'ajaxManager has no properties' error. Any help would be appreciated.

Thanks
Jay
Top achievements
Rank 2
 answered on 25 Aug 2008
4 answers
176 views
What exactly is this button for? I don't see any added functionality by using it. I looked in the help files and couldn't find anything.

Thanks,
Brian
Brian Goldman
Top achievements
Rank 2
 answered on 25 Aug 2008
2 answers
369 views
Hello,

I have a editor inside a div or even a panel. If the editor has no content I want to make the set the div visibility to false.

I have set the div as a server contol but not sure how or what the syntax is to find if the editor is emply.

Any help would be appreciated.

Thanks
sayitfast
Top achievements
Rank 2
Iron
 answered on 25 Aug 2008
1 answer
215 views
Is there a way to set the dateformatstring for an auto generated column? I looked in the column created event but I do not see any options under e.column.
Essentially I am bringing in 5 fields all are auto generated but I need to format a date field.

Thanks
Henry Derstine
Top achievements
Rank 1
 answered on 25 Aug 2008
5 answers
259 views

I have an asp button within a radpageview (of the rad mulitpage control connected to the rad tab strip) that represents a delete function.  I add a click click in code behind like so:

m_btnDeleteUser.Attributes.Add("onclick", "javascript:return confirm('You you sure');");

This works fine on buttons not in the radpageview, when in the radpageview, the confirm dialog box pops up, but the return true (clicking ok button) does not allow the server side click event to fire. 


This thread talks about something similar http://www.telerik.com/community/forums/thread/b311D-bkektd.aspx
But I'm not using tab template, I'm just inside the radpageview control.  Is it essentially the same isssue?

Thanks.
Mark

Mark
Top achievements
Rank 1
 answered on 25 Aug 2008
2 answers
129 views
Good day telerik team, I am using the latest version of the Prometheus suite and this is my problem:

I have inherited the RadGrid control, this inherited control has a RadToolbar which is added on top of the grid headers.
So far so good, now I have also implemented some buttons for the toolbar, basically those buttons execute actions as enable/disable and others, the problem that I have is that to be able to execute their actions those buttons are firing up the ItemCommand event of the grid and this is causing that the full grid reloads everytime (I am using an RadAjaxManager on the pages to convert the regular calls in ajax calls), so I was wondering if there is a way to make those calls be intercepted by the RadAjaxManager and execute an event of my custom button rather than the ItemCommand of grid and avoid loading the whole grid.

Something like this:

http://www.telerik.com/demos/aspnet/Grid/Examples/AJAX/OutOfGrid/DefaultCS.aspx

But I dont want to update the grid at all (retrive and updating the grid), I just want to make a simple ajax call, and in the server execute a custom action, there is no need to re-paint the grid again.

I hope that my thoughts were being expressed correctly, and sorry for my bad english :D

Cheers.

Jaime
Top achievements
Rank 1
 answered on 25 Aug 2008
1 answer
67 views
Any idea of when this function can be added?

same feature like TreeView control.

Drag & drop inside same Menu or from another menu, even from treeview?

Thanks a lot.

Robert
James Wilson
Top achievements
Rank 1
 answered on 25 Aug 2008
1 answer
126 views
Hi,

for me some times teleric trail message. i red the document, and followed the steps.but after copying and pasting the new dll in to my application, runtime is workinh nicely but at design time, all controls are showing error message like:
connot find the control name with version .................... like
and when adding new telerik controls a messagebox displays saying already there is a dll with Teleric.web.ui dou You want to replace it. then i thought the Sometimes the .NET Framework wrongly caches the Telerik RadControls for ASP.NET AJAX's DLL and therefore the update may seem to have failed. and followed the steps u given in the help. since not coming.

so the new developer version controls are not coming to MSVS toolbox.

tell me all the steps thet i need to follow and get that new controls to toolbox and to use.

Thanks,
Ravi gorrepati.
Sophy
Telerik team
 answered on 25 Aug 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?