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

Hi,
I am currently trialing the Telerik.Web.UI.dll ver. 2008.2.826.35
and im getting an exception below:
    Unhandled Win32 exception occurred in iexplore.exe[2688]

I am using a RagGrid and populating data at pageload.
Daniel
Telerik team
 answered on 21 Oct 2008
10 answers
247 views
I followed your example on how to export to Excel and how to handle when the radGrid is in an ajaxified updatepanel.  The grid is populated during a button click and not during page load so it is empty when first going to the page. 

This is the code I have in another button click:

radGridResults.ExportSettings.IgnorePaging = true;

radGridResults.ExportSettings.OpenInNewWindow = true;

radGridResults.MasterTableView.ExportToExcel();

I click on the button, get the Open/Save/Cancel window and save the file.  When I open it, I first get a window popped up that states "The file you are trying to open, 'RadGridExport.xls', is in a different format than specified by the file extension.  Verify that the file is not corrupted and is from a trusted source before opening the file.  Do you want to open the file now?".  I selected Yes and when it finally opens all I can see are the header titles, it does not appear that any of the row data has been exported.

What am I doing wrong?

 

 

Daniel
Telerik team
 answered on 21 Oct 2008
1 answer
74 views
Hi,

Does anybody know wether it's possible to use a templated tool in the RadEditor toolbar?
What I'm trying to achieve is to create a custom tool like the Font dropdownlist. I tried the "editordropdown" type, but the problem is once I select an item from the dropdown, the dropdown doesn't reflect the item I selected.
So I thought maybe I should create a templated tool.
Maybe there is another way to achieve this?

Rumen
Telerik team
 answered on 21 Oct 2008
2 answers
154 views
Hi,
    I am exporting datas from radgrid to an excel sheet.But i set the visible of the grid is false.So here there is problem arising to export,the column headers cannot be show only the datas will export.But if i set the visible proerty true for the grid then i the columns also export for me.But only i want to export the grid in invisible mode.
              Codings i am using to export are below..

                RadGrid1.ExportSettings.ExportOnlyData = true;
                RadGrid1.ExportSettings.IgnorePaging = true;
                RadGrid1.ExportSettings.OpenInNewWindow = true;
                RadGrid1.MasterTableView.ExportToExcel();   


Regards,
Giri
Daniel
Telerik team
 answered on 21 Oct 2008
2 answers
105 views
Is there a way to show a validation message on attempting to expand or collapse?

What I have is a grid with an editable NumericTextBox in the ItemTemplate of one of the columns. It is the only value that is editable on the given row of the grid but it is editable immediately on viewing the grid. I have a top level Save button such that when clicked it saves all of the values entered in any of the textboxes on the grid.

However, these same rows can have child records. The catch is that if there is no value greater than zero entered in the parent row's NumericTextBox, the user shouldn't be able to expand the child rows.
Thomas
Top achievements
Rank 1
 answered on 21 Oct 2008
5 answers
127 views
hello,

for all of my grids, i use a custom EditForm of type UserControl. this gives me wonderful design flexibility. however, sometimes i need to do special things in the editform UserControl -- for ex, if our user has read-only access, i need to disable some things.

so, programmatically, how can my hosting ASPX page pass in variables (or set properties, or pass in arguments) on the editform UserControl?


thanks!
matt
matt
Top achievements
Rank 1
 answered on 21 Oct 2008
3 answers
162 views
Dear All!
I have the following code snippet:
<telerik:RadAjaxPanel runat="server" ID="ajaxpnlCosts">
    <table>
        <tr>
            <td>
                <asp:RadioButtonList runat="server" AutoPostBack="true" ID="radiolstCosts">
                    <asp:ListItem Enabled="true" Selected="False" Value="0" Text="FREE" />
                    <asp:ListItem Enabled="true" Selected="True" Value="1" Text="NOMINAL" />
                    <asp:ListItem Enabled="true" Selected="False" Value="2" Text="HIGH" />
                </asp:RadioButtonList>
            </td>
        </tr>
    </table>
</telerik:RadAjaxPanel>

I use this code in a Content(Placeholder) control (Master page based layout).
The following problem happen: When I choose a new radiobutton at first Ajax call works fine.
At the second new radiobutton choose it's do a complete normal postback instead of Ajax postback.
With RadAjaxManager during the "postback" the whole table disappear!?!

Can U tell me why?

thx,
Gábor

Maria Ilieva
Telerik team
 answered on 21 Oct 2008
1 answer
403 views
Using RadAjax Calendar with tooltips as demonstrated in http://demos.telerik.com/aspnet/prometheus/ToolTip/Examples/ToolTipZoneID/DefaultCS.aspx

In that example, the tooltip shows for both appointment items and the DatePicker.

Is there a way to stop the tooltip from displaying whenever a date is being selected via the datepicker?

Thank you.
Tervel
Telerik team
 answered on 21 Oct 2008
1 answer
117 views
Good Evening,

I am developing a site that has a public portion of it, as well as a Restricted folder with 4 subfolders in it.  I have enabled membership and roles, setup roles for each of the 4 user groups, and added securitytrimmingEnabled = true to a custom sitemap provider in my root web.config.  My web.sitemap file references the other sitemaps by name.

Nonetheless, when I run the site locally the menu choices are not trimmed and all user roles can see all menu choices. 

Has anyone been able to make this type of scenario work?  If so, I would be most grateful if you could share how you did it.

Thanks much!!
Sid
Peter
Telerik team
 answered on 21 Oct 2008
3 answers
199 views
Hi there,

I have a RadEditor that im injecting to a web page on the server side. and i wanted to set the focus when this is injected into the page to the Text box within the editor. on the server side just before i inject the code i add an event .onClientLoad. In the aspx of the page i'm adding i've added a function for onEditorClientLoad method which the onClientLoad method references.

In this onEditorClientLoad method i use the sender.setFocus(); method. however this doesnt seem to be doing the trick.. For some reason i think the sender variable is undefined?

Also I cannot seem to set the FocusOnLoad="true" This method is not avaliable to me? It would be great to just be able to set this property before I inject the Editor, Can you explain why this method is not avalible?
Tervel
Telerik team
 answered on 21 Oct 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?