Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
83 views

In my application have five projects, each project had separate install shied (i.e. plug-in type).  All projects are related to each other.

I am installing the first application I will show the one menu items and its submenu items in my master page, again I am installing one more project now I will show two menu items in same master page, like this

Project 1 _menu, Project 2_menu, .....

How I can archive these functionally in my application by using RadMenu.

Guna
Top achievements
Rank 1
 asked on 16 Feb 2009
1 answer
89 views
Hi all

I have a grid that I'd like to receive focus after a users selects a combo box above.  I tried putting a databound handler in with the code:  radgrid1.focus();   It nearly works.  It does move focus to the grid, but to the header row.  I want it to select the first cell of the first row which happens to be the autogenerated Select button.  Anyone know how I can specifically set focus to that button?

Thanks
Mark
Princy
Top achievements
Rank 2
 answered on 16 Feb 2009
1 answer
258 views
I have this JavaScript method (setExpansionControls) which is called from window.onload().  The call works just fine.  The variable txtBox refers to a RadNumercInput control.


            function setExpansionControls(enable) {
                var txtBox = $find('ctl00_ContentPlaceHolder1_RMExpandableInSqFt');

                if (txtBox != null) {
                    if (enable) {
                        txtBox.enable();
                    }
                    else {
                        txtBox.disable();
                    }
                }
            }

The problem: txtBox is ALWAYS null when called from onload, but it is not when called from elsewhere.  I can disable/enable the input control just fine if I click a button on a loaded page.

So my question:  How do we know when we can safely call methods on an initialized input control?  If window.onload isn't able to get a reference to the control, what can?

TIA,

Ian
Princy
Top achievements
Rank 2
 answered on 16 Feb 2009
1 answer
112 views
Hi

    I am new to Telerik. I just want to open a model dialog window after clicking the Edit button inside the Telerik Grid.

For me it open all the Columns inside the Grid with Edtable and then it opens the Open Model Dialog window. Could any one help me out. Its very Urgent. I have also attached my code.



Thanks
Jaya
   <telerik:RadGrid OnNeedDataSource="dgrdMeasure_Click" Width="100%" ID="dgrdMeasure" 
                        runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" 
                        enableajax="True" GridLines="Vertical" Skin="WebBlue" ClientSettings-Resizing-AllowColumnResize="false" 
                        AllowMultiRowSelection="false" Height="350px" HorizontalAlign="NotSet" > 
                        <ExportSettings FileName="ProjectMeasures" ExportOnlyData="true" OpenInNewWindow="true">  
                        </ExportSettings> 
                                                <PagerStyle Mode="NextPrevAndNumeric" /> 
                        <ClientSettings EnablePostBackOnRowClick="false">  
                            <Selecting AllowRowSelect="True" /> 
                            <ClientEvents OnRowSelected="RowSelected" /> 
                            <Scrolling UseStaticHeaders="true" SaveScrollPosition="true" AllowScroll="true" ScrollHeight="350px" /> 
                        </ClientSettings> 
                        <MasterTableView GroupLoadMode="Client" TableLayout="Fixed" Width="100%" HorizontalAlign="NotSet" > 
                            <NoRecordsTemplate> 
                                <asp:Label ID="lblNRF" runat="server" Text="No Measures to display."></asp:Label> 
                            </NoRecordsTemplate> 
                              
                            <Columns> 
                            <telerik:GridBoundColumn DataField="InstallID" SortExpression="InstallID" HeaderText="InstallID" 
                                    UniqueName="InstallID" HeaderStyle-Width="6px" ItemStyle-Width="6px" Display="false">  
                                    <ItemStyle HorizontalAlign="Left" /> 
                                    <HeaderStyle HorizontalAlign="Center" /> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn DataField="MeasureID" SortExpression="MeasureID" HeaderText="MeasureID" 
                                    UniqueName="MeasureID" HeaderStyle-Width="6px" ItemStyle-Width="6px" Display="false">  
                                    <ItemStyle HorizontalAlign="Left" /> 
                                    <HeaderStyle HorizontalAlign="Center" /> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn DataField="TotalUnits" SortExpression="TotalUnits" HeaderText="TotalUnits" 
                                    UniqueName="TotalUnits" HeaderStyle-Width="6px" ItemStyle-Width="6px" Display="false">  
                                    <ItemStyle HorizontalAlign="Left" /> 
                                    <HeaderStyle HorizontalAlign="Center" /> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn DataField="Cap" SortExpression="Cap" HeaderText="Cap" UniqueName="Cap" 
                                    HeaderStyle-Width="6px" ItemStyle-Width="6px" Display="false">  
                                    <ItemStyle HorizontalAlign="Left" /> 
                                    <HeaderStyle HorizontalAlign="Center" /> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridTemplateColumn HeaderText="&nbsp;&nbsp;" HeaderStyle-ForeColor="White" 
                                    ItemStyle-Width="3%" ItemStyle-HorizontalAlign="Center" HeaderStyle-Width="3%" 
                                    HeaderStyle-HorizontalAlign="Center">  
                                    <ItemTemplate> 
                                        <asp:ImageButton runat="server" ID="DupUrl" src='<%# Eval("DuplicateURL")%>' Height="14" 
                                            Width="13" alt="Duplicate URL" /> 
                                    </ItemTemplate> 
                                </telerik:GridTemplateColumn> 
                                <telerik:GridBoundColumn DataField="MeasureName" SortExpression="MeasureName" HeaderText="Measure Name" 
                                    UniqueName="MeasureName">  
                                    <ItemStyle HorizontalAlign="Left" /> 
                                    <HeaderStyle HorizontalAlign="Center" /> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn DataField="InstallationDate" SortExpression="InstallationDate" 
                                    HeaderText="Install Date" UniqueName="InstallationDate">  
                                    <ItemStyle HorizontalAlign="Left" /> 
                                    <HeaderStyle HorizontalAlign="Center" /> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn DataField="Units" SortExpression="Units" HeaderText="No of Units" 
                                    UniqueName="Units">  
                                    <ItemStyle HorizontalAlign="Left" /> 
                                    <HeaderStyle HorizontalAlign="Center" /> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn DataField="TotalKW" SortExpression="TotalKW" HeaderText="Total kW" 
                                    UniqueName="TotalKW">  
                                    <ItemStyle HorizontalAlign="Left" /> 
                                    <HeaderStyle HorizontalAlign="Center" /> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn DataField="TotalKWH" SortExpression="TotalKWH" HeaderText="Total kWh" 
                                    UniqueName="TotalKWH">  
                                    <ItemStyle HorizontalAlign="Left" /> 
                                    <HeaderStyle HorizontalAlign="Center" /> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn DataField="TotalmmBTUGas" SortExpression="TotalmmBTUGas" 
                                    HeaderText="Total mmBtu(Gas)" UniqueName="TotalmmBTUGas">  
                                    <ItemStyle HorizontalAlign="Left" /> 
                                    <HeaderStyle HorizontalAlign="Center" /> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn DataField="TotalmmBTUHGas" SortExpression="TotalmmBTUHGas" 
                                    HeaderText="Total mmBtuh(Gas)" UniqueName="TotalmmBTUHGas">  
                                    <ItemStyle HorizontalAlign="Left" /> 
                                    <HeaderStyle HorizontalAlign="Center" /> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn DataField="TotalmmBTUFuel" SortExpression="TotalmmBTUFuel" 
                                    HeaderText="Total mmBtu(Fuel)" UniqueName="TotalmmBTUFuel">  
                                    <ItemStyle HorizontalAlign="Left" /> 
                                    <HeaderStyle HorizontalAlign="Center" /> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn DataField="TotalmmBTUHFuel" SortExpression="TotalmmBTUHFuel" 
                                    HeaderText="Total mmBtuh(Fuel)" UniqueName="TotalmmBTUHFuel">  
                                    <ItemStyle HorizontalAlign="Left" /> 
                                    <HeaderStyle HorizontalAlign="Center" /> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn DataField="TotalWater" SortExpression="TotalWater" HeaderText="Total gpd" 
                                    UniqueName="TotalWater">  
                                    <ItemStyle HorizontalAlign="Left" /> 
                                    <HeaderStyle HorizontalAlign="Center" /> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn DataField="TotalWaterH" SortExpression="TotalWaterH" HeaderText="Total gpy" 
                                    UniqueName="TotalWaterH">  
                                    <ItemStyle HorizontalAlign="Left" /> 
                                    <HeaderStyle HorizontalAlign="Center" /> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn DataField="CustomerIncentive" SortExpression="CustomerIncentive" 
                                    HeaderText="Customer Incentive" UniqueName="CustomerIncentive">  
                                    <ItemStyle HorizontalAlign="Left" /> 
                                    <HeaderStyle HorizontalAlign="Center" /> 
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn DataField="SpIncentive" SortExpression="SpIncentive" HeaderText="SP Incentive" 
                                    UniqueName="SpIncentive">  
                                    <ItemStyle HorizontalAlign="Left" /> 
                                    <HeaderStyle HorizontalAlign="Center" /> 
                                </telerik:GridBoundColumn> 
                                  
                                <telerik:GridTemplateColumn HeaderText="Edit" HeaderStyle-ForeColor="White" ItemStyle-Width="6%" 
                                    ItemStyle-HorizontalAlign="Center" HeaderStyle-Width="6%" HeaderStyle-HorizontalAlign="Center" > 
                                      
                                    <ItemTemplate> 
                                        <asp:ImageButton  ImageAlign="Middle" runat="server" ID="Edit" 
                                            OnClientClick="return EditMeasure(this);" src="../App_Themes/images/Edit.gif" 
                                            Height="12" Width="12" alt="Edit" OnClick="lnkEdit_click" /> 
                                    </ItemTemplate> 
                                </telerik:GridTemplateColumn> 
                                <telerik:GridTemplateColumn HeaderText="Delete" HeaderStyle-ForeColor="White" ItemStyle-Width="7%" 
                                    ItemStyle-HorizontalAlign="Center" HeaderStyle-Width="7%" HeaderStyle-HorizontalAlign="Center">  
                                    <ItemTemplate> 
                                        <asp:ImageButton CommandName="Delete" ImageAlign="Middle" runat="server" ID="Delbudget" 
                                            OnClientClick="return DeleteProject();" src="../App_Themes/images/DeleteGrid.gif" 
                                            Height="14" Width="13" alt="Delete" /> 
                                    </ItemTemplate> 
                                </telerik:GridTemplateColumn> 
                            </Columns> 
                            <EditFormSettings EditColumn-Display="false"></EditFormSettings> 
                        </MasterTableView> 
                        <FilterMenu EnableTheming="True" Skin="WebBlue">  
                            <CollapseAnimation Duration="200" Type="OutQuint" /> 
                        </FilterMenu> 
                    </telerik:RadGrid> 
Princy
Top achievements
Rank 2
 answered on 16 Feb 2009
3 answers
188 views
I have a couple of columns in my grid view set to Read Only.  According to some documentation, this property should automatically hide that column on Edit and Insert, correct?   Of course, other documentation says that this feature is not working in the "current version", but doesn't specifiy what the current version is. 

I would like some clarification please.

If I set my column to Read Only, I would like it to not be visible in Edit Mode (including the header). What is the best way to achieve this?

Thanks.
Shinu
Top achievements
Rank 2
 answered on 16 Feb 2009
0 answers
96 views

 

In my application tree view is placed inside splitter controls, i am adding the node, at this time reload the tree view, now it possible to retain information like width and height of tree view exactly before reloading?

Guna
Top achievements
Rank 1
 asked on 16 Feb 2009
0 answers
121 views

Rad Asp.net Ajax controls can support JAWS , JAWS is a screen reader (or) any other screen reader?
Guna
Top achievements
Rank 1
 asked on 16 Feb 2009
0 answers
47 views

Rad Asp.net Ajax controls can support (or) Integrate with Flash or Microsoft Sliverlight technology?
Guna
Top achievements
Rank 1
 asked on 16 Feb 2009
4 answers
664 views
Hi,
 I am  using rad editor as a custom control in which i want to know  the text changed event in the control. I want to get the value of the control (i.e Text typed in the radeditor). I want to get the changed value of the Radeditor. so by uisng the  Which client event shall i get the text of the value.
Please Help me in this process.

Thanks
Veda
Krishnakanth
Top achievements
Rank 1
 answered on 16 Feb 2009
3 answers
228 views
i have a requirement:

i want  a "Hierarchy  Radgrid with checkboxes" .
 now when i click on particular checkbox on radgrid in mastertable or detailview table ,
 its status is updated in database(true/false).

all thing working on click of checkbox.

Thanks in advance  for help/
Shinu
Top achievements
Rank 2
 answered on 16 Feb 2009
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?