Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
418 views
I have a grid which I export to Excel, but the Excel file contains a button for each of the groupings.  It also contains extra rows for a command item template.  I have as yet been unable to remove these before export.  Can anyone offer a suggestion as to how I can remove these?  A screen shot is attached.
Sunny
Top achievements
Rank 1
 answered on 25 Feb 2010
7 answers
165 views
Hi..
I have a AjaxPanel with textboxes.
I'm trying to update the values programmatically in code-behind in C#

like this..  BUTTON_CLICK()

 

this.txtNAME.Text = this.txtFIRSTNAME.Text +  "  :" + this.txtLASTNAME    ;

the value of TEXt changes in the DEBUG window but the values does not change on the screen. How do I force the change ?

thanks again!!!

 

Mira
Telerik team
 answered on 25 Feb 2010
1 answer
131 views
Hi,

In Rad grid Control, there are 2 TemplateColums (Start time and end time) and it has two RadTimePicker control for      EditItemTemplate .im using the master page as well.
I want to validate that end time value is greater than the start time .
 How to use Compare Validator?

Can you plz tell me the way of doing this.because this is ugent.
 
 <telerik:GridTemplateColumn HeaderText="Starttime" UniqueName="Starttime" > 
            <EditItemTemplate> 
                <telerik:RadTimePicker ID="rtpStartTime" runat="server">  
                </telerik:RadTimePicker> 
             </EditItemTemplate> 
            <ItemTemplate> 
                <asp:Label ID="lblStarttime" runat="server" Text='<%# Eval("StartTime","{0:t}") %>'></asp:Label> 
            </ItemTemplate> 
        </telerik:GridTemplateColumn> 
          
         <telerik:GridTemplateColumn HeaderText="End time" UniqueName="EndTime">  
            <EditItemTemplate> 
                <telerik:RadTimePicker ID="rtpEndTime" runat="server"    
                </telerik:RadTimePicker>                  
            </EditItemTemplate> 
            <ItemTemplate> 
                <asp:Label ID="lblEndTime" runat="server" Text='<%# Eval("EndTime", "{0:t}") %>'></asp:Label> 
            </ItemTemplate> 
        </telerik:GridTemplateColumn> 

Thanks
Waruni
Mira
Telerik team
 answered on 25 Feb 2010
1 answer
221 views
Greetings,

I have tried following the example:
http://www.telerik.com/help/aspnet/grid/radgrid-telerik.webcontrols.radgrid-itemcreated_ev.html

I'm using an asp:ImageButton within a RadGrid GridTemplateColumn and I set the CommandArgument property of the ImageButton in the code-behind (either during OnLoad or OnItemCreated of the RadGrid). However, in the Click/Command event handlers of the button, the CommandArgument value has been reverted to String.Empty.

I've stepped through the process and the ImageButton.CommandArgument does get set (to a guid) correctly, but alas this value is gone when I need it.

Any ideas would be greatly appreciated.

-Ryan
Princy
Top achievements
Rank 2
 answered on 25 Feb 2010
2 answers
196 views
I am using the file explorer with a single path and would like to show the sub folders without showing the root folder, Is it possible to do this?
If not, is it possible to lock only the root folder from uploading files?

I want to use the control to allow users to manage add/remove files in the subfolders of the root folder only. I don't want to allow them to upload individual files into the root folder.
Dobromir
Telerik team
 answered on 25 Feb 2010
1 answer
121 views
Hi

I have a TabStrip where I have attached a custom attribute so I can uniquely identify each tab. I also have a ContextMenu attached to the TabStrip.

I can find the text of the tab (args.get_targetElement().innerHTML) that menu was accessed from but is there any way I can find out the custom attributes of the tab in question?

Thanks
Shinu
Top achievements
Rank 2
 answered on 25 Feb 2010
1 answer
45 views

Requirements

RadControls version

2009.3.1314    

.NET version

ALL

Visual Studio version

ALL

programming language

C#

browser support

all browsers supported by RadControls


PROJECT DESCRIPTION
The following event handler will add headers and ids to the output of a radGrid. For Section 508 accessibility there are several methods (because accessibility browsers do different implementation). This implements one of these methods. It may co-exist with the scope pattern to cover more accessibility browsers.
static void grid_ItemCreatedAddIdHeader(object sender, GridItemEventArgs e)     
{     
    var colno = 1;     
    if (e.Item is GridHeaderItem)     
    {     
        colno = 1;     
        GridHeaderItem headItem = e.Item as GridHeaderItem;     
        foreach (GridColumn col in headItem.OwnerTableView.Columns)     
        {     
            TableCell cell = headItem[col.UniqueName];     
            cell.Attributes["id"] = string.Format(CultureInfo.CurrentCulture, "header{0}", colno); ;     
            colno++;     
        }     
    }     
    if (e.Item is GridDataItem)     
    {     
        // Add headers alternative to grid     
        colno = 1;     
        foreach (GridColumn col in dataItem.OwnerTableView.Columns)     
        {     
            TableCell cell = dataItem[col.UniqueName];     
            cell.Attributes["headers"] = string.Format(CultureInfo.CurrentCulture, "header{0}", colno); ;     
            colno++;     
        }             
    }     
}    
 

Yavor
Telerik team
 answered on 25 Feb 2010
2 answers
93 views
Hello Friends

I need to display progress bar when file are uploaded in page with old rad upload control.

I used register namespace like

<%@ Register TagPrefix="radw" Namespace="Telerik.WebControls" Assembly="RadWindow.Net2" %>
<%@ Register Assembly="RadUpload.Net2" Namespace="Telerik.WebControls" TagPrefix="radU" %>
used script manager,Progress manager,progress area



<asp:ScriptManager ID="script1" runat="server">
    </asp:ScriptManager>
 <radu:radprogressmanager id="Radprogressmanager1" runat="server" />
<radU:RadProgressArea  id="RadprogressArea1" runat="server"></radU:radprogressarea>

also i had done add below in web.config.
In httpModules
 <add name="RadUploadModule"  type="Telerik.WebControls.RadUploadHttpModule, RadUpload.Net2" />
in httpHandlers
<add verb="*" path="Telerik.RadUploadProgressHandler.aspx" type="Telerik.WebControls.RadUploadProgressHandler, RadUpload.Net2" />


any error are not display but also progress bar is also not display.

is there any missing for display progress bar?

pls help me.

Thanks & Regards
Jignesh Patel











Jignesh
Top achievements
Rank 1
 answered on 25 Feb 2010
1 answer
65 views

Hi all

I have a request to provide the ability to divide large amounts of copy into tabs; so the user doesn't have to scroll vertically to read the text.   

What I'd really like to do is to be able to use the TabStrip control embedded in the page content control. The content creator could then add as many tabs as required, subsequently adding the text for each newly created tab. I'd would then need the number of tabs and the text associated with each tab stored somehow, so when the page is viewed in presentation mode it all just magically comes together and displays neatly.

Is this possible?

thomson
Top achievements
Rank 1
 answered on 25 Feb 2010
1 answer
87 views
Hi all.
I have a radcombobox in a radgrid, inside a gridboundcolumn filtertemplate. How can I get access to it?
$find("myCombobox.ClientID") doesn't work.
Shinu
Top achievements
Rank 2
 answered on 25 Feb 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?