Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
75 views
Hi,
     We have impliment the google like filtering, but the combobox retain its old text .

Step to reproduce
èType text in filtering combo select an item
èGrid will show the filter data
èWhen we click else the grid will re-filter againon the old value

that is in sort the combo box text is not changing...

Thanks,
Sanjeev
Sanjeev
Top achievements
Rank 1
 answered on 23 Mar 2010
5 answers
159 views
Hi,
I have a couple of problems with Headercontextmenu.

First I have a SortCommand event for the grid to handle the sorting manually.
This event doesnt get fired with any of the Sort Asc or Sort Desc menu items.
My grid is in a ajax panel and it just dissappears when I click any of those menu items.

 --------

Second I added a custom menu item to the Headercontextmenu with the help of a sample that I found here.

    protected override void OnPreRenderComplete(EventArgs e)
    {
        string BaseUrl = Request.Url.ToString().Substring(0, Request.Url.ToString().IndexOf("?"));
        RadContextMenu menu = RadGrid1.HeaderContextMenu;
        RadMenuItem item = new RadMenuItem();
        item.Text = "Expand To SubColumns";
        menu.Items.Add(item);
        base.OnPreRenderComplete(e);
    }

But I cannot do anything with the help of this menu item because of 2 problems.

1. I cannot change the ID of this custom menu item and it is my only chance that I can understand postback is caused by this menu item. Currently when I look at    Request["__EVENTTARGET"],  I see ctl00$ContentPlaceHolder1$RadGrid1$rghcMenu as the postback creator.

2. I dont know which column user right clicked and selected the custom menu item. Is there a way to get the column name for the clicked item in the  Headercontextmenu.

Thanks for your help.


DW Web Team Member
Top achievements
Rank 2
 answered on 23 Mar 2010
3 answers
156 views
If my upload code is in an AjaxPanel then
If Request.Files.Count > 0 Then 
always return zero, what is causing my problem?
Phil
Phil
Top achievements
Rank 2
 answered on 23 Mar 2010
1 answer
108 views
Hi guys.

I'm developing a page with 7 tabs and only 1 button to save all information of all page tabs.

My problem is, in some cases the tab's content is behind the button. Look at the image below:

image

What can I do to put the button below the largest tab?

Tx in advance.

Regards.



Silvio Silva Junior
Top achievements
Rank 2
 answered on 22 Mar 2010
3 answers
718 views
Hi,

When I paste the value "12,234" into the Numeric Input box (see below), the control thinks that the comma is a decimal place. This is very confusing for our users, as they have to remove the decimal place. How can I fix this?

Thanks,
Tim

<telerik:RadNumericTextBox ID="txtSalaryTo" runat="server" ShowSpinButtons="true">  
    <NumberFormat DecimalDigits="0" DecimalSeparator="." GroupSeparator="," GroupSizes="3" AllowRounding="false" /> 
    <IncrementSettings Step="1000" /> 
    <ClientEvents OnKeyPress="KeyPress_Salary" /> 
</telerik:RadNumericTextBox> 

George Perley
Top achievements
Rank 1
 answered on 22 Mar 2010
1 answer
203 views

Hi
    i am exporting radgrid, i need to exclude pirticula column..how do i do that?

Regards
chennaiah
Daniel
Telerik team
 answered on 22 Mar 2010
1 answer
120 views
Hi all,

I have a column in my radgrid called 'academic year' with values '01/02', '02/03', 03/04'..... etc

When I export to CSV, the above values become '01-Feb', '02-Mar', '03-Apr' .... etc.

Instead of exporting the value as  text, it is considering it as date. Could you  please suggest how can I solve this issue.

Thanks
Daniel
Telerik team
 answered on 22 Mar 2010
2 answers
170 views

I have been having difficulty getting my custom styles to apply to the Paragraph Styles dropdown in the RadEditor control within a Sitefinity website.
 

I have declared my H1, H2, H3, H4 styles in an external stylesheet in ~/Sitefinity/Admin/ControlTemplates/radeditor.css.

I have also added those same H1, H2, H3, H4 styles to the ~/Sitefinity/Admin/Themes/Default/AjaxControlsSkins/Sitefinity/EditorCssFile.css file. 

In the ~/Sitefinity/Admin/ControlTemplates/EditorToolsFile.xml, I have added the following:

  <cssFiles> 
   <item name="~/Sitefinity/Admin/ControlTemplates/radeditor.css" /> 
  </cssFiles> 
    
  <paragraphs>    
   <paragraph name="Normal" value="&lt;p>" />    
   <paragraph name="&lt;H1>Heading 1&lt;/H1>" value="&lt;H1>" />    
   <paragraph name="&lt;H2>Heading 2&lt;/H2>" value="&lt;H2>" />    
   <paragraph name="&lt;H3>Heading 3&lt;/H3>" value="&lt;H3>" />    
   <paragraph name="&lt;H4>Heading 4&lt;/H4>" value="&lt;H4>" />    
  </paragraphs>    
 

I even added the .reDropDownBody h1, .reDropDownBody h2, .reDropDownBody h3, and .reDropDownBody h4 styles to both the ~/Sitefinity/Admin/ControlTemplates/radeditor.css and the ~/Sitefinity/Admin/Themes/Default/AjaxControlsSkins/Sitefinity/EditorCssFile.css files, as recommended in this thread. 

The styles are applied appropriately to the window of the editor, but not to the dropdown. (See attached images.) 

What am I missing?

Thanks for your help.

 

Christine
Top achievements
Rank 1
 answered on 22 Mar 2010
2 answers
98 views
Using IE 8. (Dont know if this happens in others)
When I click on edit to open the popup frame to edit the item the Popup window always loads at the top of the grid even if you select edit mutiple pages down (IE grid has template rows thus each item takes up alot of space).
Is there any way to make the popup window load at the top of the row I just selected to edit?
Jyothi Nattava
Top achievements
Rank 1
 answered on 22 Mar 2010
1 answer
190 views
I know this subject has been commented upon and discussed ad infinitum, but I have not run across anyone asking the question, "Is there a way to break up a large dataset into pieces for contiguous download to the client?"  By this, I mean, is there anything in the Export2Excel API that will facilitate such functionality?  This is imperative for datasets with more than 65k records (Excel's row limit).

tia,
Mark
Daniel
Telerik team
 answered on 22 Mar 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?