Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
242 views
Hello,

I have a gridtemplate column that is a label, but the value is a decimal value and I need the column to sort it like a number and not text (it sorts it as text).  I have read numerous posts and the online help but I don't understand exactly what I need to do in order to sort a gridtemplate column in this manner.  I can sort the bound number columns just fine.  Here is my grid column:

 

 

 

<telerik:GridTemplateColumn DataField="TRANS_AMOUNT" HeaderText="Amount" UniqueName="TRANS_AMOUNT"

 

 

 

 

 

AllowFiltering="false" SortExpression="TRANS_AMOUNT" DataType="System.Decimal">

 

 

 

 

 

<HeaderStyle HorizontalAlign="Left" Width="65px" Wrap="False" Font-Size="Smaller" />

 

 

 

 

 

<ItemStyle HorizontalAlign="Right" Width="65px" Wrap="False" />

 

 

 

 

 

<ItemTemplate>

 

 

 

 

 

<asp:Label runat="server" ID="lblTransAmount" CssClass="NormalNarrow" Text='<%#DataBinder.Eval(Container, "DataItem.TRANS_AMOUNT") %>'></asp:Label>

 

 

 

 

 

</ItemTemplate>

 

 

 

 

 

</telerik:GridTemplateColumn>

 

 

Pavlina
Telerik team
 answered on 25 Jun 2009
1 answer
184 views
Hi,

I was wondering what does really do the show/hide method client-side on a menuitem. It doesn't seem to put visibility to "false" neither to put display to "none" because when I put one of those properties server-side, when i use the show method client-side, it doesn't work.

Is there an equivalent server-side for the show/hide method on menuitem ? I want to initialize the menuitems visibles server-side, and then client-side i want to show/hide menuitems depending on what the client is doing. The client-side part works perfectly, but i can't initialize server-side like I want.

If anyone can explain to me how I can do the similar action than show/hide but server-side...

Regards,

[Nean]
Princy
Top achievements
Rank 2
 answered on 25 Jun 2009
1 answer
153 views
My application currently controls the visibility of the RadGrid filter row by having an HTML anchor whose href attribute points to a JS function. This function sets the filter row visibility by invoking either showFilterItem() or hideFilterItem(). Functionality-wise it works fine.

However, this HTML anchor is located on the CommandItems row and I've been asked to move this anchor to either above or "on" the FilterItems row itself. Our designers feel this is easier for the user to see (since we have several controls on the CommandItems row) and is more intuitive (since the "toggle" will be very close visually to the filters themselves). However, I have not been able to determine how to do this.

There is no programmatically-accessible row between HeaderItems and FilterItems. Additionally, if I add the anchor somehow to the FilterItems row itself, invoking "hideFilterItem()" will hide the anchor along with the filters.

This is how they want the RadGrid to look:

[CommandItems Row]
[HeaderItems Row]
["Toggle" control]
[FilterItems Row]
[GridItems Row(s)]
[FooterItems Row]

Is there anything I can do?

Thanks, Brian

Sebastian
Telerik team
 answered on 25 Jun 2009
1 answer
75 views
I have a requirement to invoke onClientNodeClicking event from onClientLoad event. How can I do that?
I am managing the toolbar buttons in the onClientNodeClicking event and it works fine when the User clicks on any Node in the TreeView.
The issue is when the page loads for the first time, I am loading the Default Nodes in the Tree using the Server side code and need to raise "onClientNodeClicking" in the client. How can we do this? Doesnt want to duplicate the code in the server side and in the client side.
Thanks
Sri K Gamini.
Sri
Top achievements
Rank 1
 answered on 25 Jun 2009
2 answers
36 views
1、I use the UpdatePanel control to replace RadAjaxPanel page, but lost RadGrid style
2、How to manually register all the required CSS files in the head tag of the page, How to manually register the default style :
<link href="<my_path_to_stylesheet>" rel="stylesheet" runat="server" >
Can you give me your Email ? I will send Page code by Email for help
Thank you very much! 
Dimo
Telerik team
 answered on 25 Jun 2009
2 answers
152 views
Hi there,

I was wondering if anyone can help. I have been using the upload control without any problems on localhost. However I have deployed the site to webserver running iis 6 and windows 2000. The upload does not recognize an image from my local C: drive.

Exception: System.IO.FileNotFoundException: C:\Documents and Settings ....

Does anyone know why this might be? Is there a setting I am missing or does the upload control not allow this?

Many thanks,
Dave 
ashish
Top achievements
Rank 1
 answered on 25 Jun 2009
1 answer
175 views
Hi,

I am using Telerik Q1 2007 version .
I have set the initial behavior = "maximize" for RAD window as well as RAD window manager..so that when window opened, it must open in maximized mode. But due to some issue, it's not opening in maximized mode. Rather it is opening with default size. It is showing Maximize button also but then I have maximize it manually.

Here is the code -

 <radW:RadWindowManager ID="RadWindowManager1" runat="server"  Skin="Olive" MinimizeMode="MinimizeZone"
             MinimizeZoneId="Divhorizotal" InitialBehavior="Maximize"  >                                             
               <Windows>
                    <radW:RadWindow ID="RadWindowPI" runat="server"  MinimizeZoneId="Divhorizotal" InitialBehavior="Maximize"  />
              </Windows>
</radW:RadWindowManager>

What is the problem in the code above that window is not opening correctly?

Regards

Rahul
Georgi Tunev
Telerik team
 answered on 25 Jun 2009
2 answers
81 views
Hi,

Can you tell me if the its possible to have a Progress Area on a different form than the upload e.g. A progress area on a div on the main page and the upload control on a different page shown in a radWindow popup. On submitting the upload from the popup window, the progress area on the main page.

Thanks in advance,

John.
Atanas Korchev
Telerik team
 answered on 25 Jun 2009
1 answer
56 views

I am using the Q1 2009 sp1 controls with the Q3 2008 skins that I downloaded from the forums. The standard skins for Q1 2009 sp2 were modified in many ways from the sp1 version.

Is there an update to the Q3 2008 skins that corresponds to the Q1 2009 sp2 release?

Are these prior skin designs going to be maintained or was the conversion a one-time event?

Thank you.

Paul
Telerik team
 answered on 25 Jun 2009
3 answers
145 views
The page compiles and on the surface the zones work as expected, but the radDockZone inside the (RadPanelBar) item template shows up as RadDockZone1 <RADDOCKZONE> in the properties window and not like expected RadDockZone2 Telerik.Web.UI.RadDockZone.
Consequently it is not accessible from Code behind.

Is this a expected limitation?

Thanks,
/ Magnus.

Edit: Adding Aspx code. RadDockZone1 is not accessible from code behind.

<body> 
    <form id="form1" runat="server"
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server"
    </telerik:RadScriptManager> 
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"
    </telerik:RadAjaxManager> 
    <div> 
        Header 
        <asp:Button ID="Button1" runat="server" Text="Button" /> 
    </div> 
    <telerik:RadDockLayout ID="RadDockLayout1" runat="server"
        <telerik:RadSplitter ID="RadSplitter1" runat="server" Width="100%"
            <telerik:RadPane ID="RadPane1" runat="server"
                <telerik:RadPanelBar ID="RadPanelBar1" runat="server"
                    <Items> 
                        <telerik:RadPanelItem runat="server" Text="Templates"
                            <ItemTemplate> 
                            Templates  
                            </ItemTemplate> 
                        </telerik:RadPanelItem> 
                        <telerik:RadPanelItem runat="server" Text="Results"
                            <ItemTemplate> 
                                <telerik:RadDockZone ID="RadDockZone1" runat="server" Height="300px" Width="300px"
                                    <telerik:RadDock ID="RadDock1" runat="server" Width="300px"
                                        <ContentTemplate> 
                                            Results 
                                        </ContentTemplate> 
                                    </telerik:RadDock> 
                                </telerik:RadDockZone> 
                            </ItemTemplate> 
                        </telerik:RadPanelItem> 
                    </Items> 
                </telerik:RadPanelBar> 
            </telerik:RadPane> 
            <telerik:RadSplitBar ID="RadSplitBar1" runat="server" /> 
            <telerik:RadPane ID="RadPane2" runat="server"
                <telerik:RadDockZone ID="RadDockZone2" runat="server" Height="300px" Width="300px"
                    <telerik:RadDock ID="RadDock2" runat="server" Width="300px"
                        <ContentTemplate> 
                            Documents 
                        </ContentTemplate> 
                    </telerik:RadDock> 
                </telerik:RadDockZone> 
            </telerik:RadPane> 
        </telerik:RadSplitter> 
    </telerik:RadDockLayout> 
    </form> 
</body> 

Pero
Telerik team
 answered on 25 Jun 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
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
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?