Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
198 views
I have a grid defined as below.  I want all of the columns to have white text, with alternating shades of green for the rows.  Everything works fine except that the single hyperlink column that I have uses the default foreground color (black).  I've tried setting the color on both the grid ItemStyle (which worked for everything else) and then I tried setting the attribute on the GridHyperLinkColumn, which still did not work.

<telerik:RadGrid ID="gridResults" runat="server" EnableEmbeddedSkins="True" Skin="Default"   
            width="100%" GridLines="None" AutoGenerateColumns="False"   
            StatusBarSettings-ReadyText="Click on a row to see the device details">  
            <SelectedItemStyle BackColor="#BE7F3F" /> 
            <HeaderStyle Font-Size="8pt" HorizontalAlign="Center" VerticalAlign="Bottom" /> 
            <ItemStyle ForeColor="White" Font-Size="8pt" BackColor="#9CAC57" HorizontalAlign="Center" VerticalAlign="Top" /> 
            <AlternatingItemStyle ForeColor="White" Font-Size="8pt" BackColor="#B1C363" HorizontalAlign="Center" VerticalAlign="Top" /> 
            <HeaderContextMenu EnableEmbeddedSkins="False"></HeaderContextMenu> 
            <MasterTableView DataKeyNames="FacilityID,ControlNum,EquipActive" GridLines="None" TableLayout="Fixed">  
                <Columns> 
                    <telerik:GridButtonColumn CommandName="Select" Text="Details" UniqueName="colSelect" /> 
                    <telerik:GridHyperLinkColumn DataNavigateUrlFormatString="newwo.aspx?fac={0}&amp;cn={1}"   
                        DataNavigateUrlFields="FacilityID,ControlNum" Text="Open WO" UniqueName="OpenWO" ItemStyle-ForeColor="White" /> 
                    <telerik:GridBoundColumn DataField="ControlNum" HeaderText="SCTM Tag #" UniqueName="ControlNum" /> 
                    <telerik:GridBoundColumn DataField="CustTag" HeaderText="Facility Tag #" UniqueName="CustTag" /> 
                    <telerik:GridBoundColumn DataField="PriorTag" HeaderText="Prior Tag #" UniqueName="PriorTag" /> 
                    <telerik:GridBoundColumn DataField="Serial" HeaderText="Serial #" UniqueName="Serial" /> 
                    <telerik:GridBoundColumn DataField="ShortName" HeaderText="Facility" UniqueName="ShortName" /> 
                    <telerik:GridBoundColumn DataField="DeptName" HeaderText="Cost Ctr/Dept" UniqueName="DeptName" /> 
                    <telerik:GridBoundColumn DataField="EquipStatusName" HeaderText="Status" UniqueName="EquipStatusName" /> 
                    <telerik:GridBoundColumn DataField="ManfName" HeaderText="Manufacturer" UniqueName="ManfName" /> 
                    <telerik:GridBoundColumn DataField="DeviceDescription" HeaderText="Description" UniqueName="DeviceDescription" /> 
                </Columns> 
                <EditFormSettings> 
                    <EditColumn InsertImageUrl="Update.gif" UpdateImageUrl="Update.gif" EditImageUrl="Edit.gif" CancelImageUrl="Cancel.gif"></EditColumn> 
                </EditFormSettings> 
            </MasterTableView> 
            <ClientSettings> 
                <Scrolling ScrollHeight="100px" AllowScroll="true" UseStaticHeaders="true" FrozenColumnsCount="4" /> 
            </ClientSettings> 
            <FilterMenu EnableEmbeddedSkins="True"></FilterMenu> 
        </telerik:RadGrid> 

Any ideas?  Thanks in advance!
Nicolaï
Top achievements
Rank 2
 answered on 26 Jun 2009
1 answer
163 views
Hello,

I am wondering if there is a way to open a RadWindow and access an object from the parent on the server side.  For example, I have a RadTree in the Parent Page.  Clicking on a button will lauch a RadWindow and on the PageLoad (server side) of the RadWindow I want to access the RadTree which is on the Parent page.

Thanks,
Feizal
Georgi Tunev
Telerik team
 answered on 26 Jun 2009
3 answers
405 views
Hi everyone,

Frist of all i just have to say how in love with RadGrid I am! :D Unfortuantely I don't think it loves me back or RadAjaxPanel is jellous and is causing me issues...

The problem I have is that when the RadAjaxPanel executes it's first postback the following features of Radgrid stop working until the entire page is postedback/refreshed.

  • RadGrid Row Selection
  • RadGrid Filter dropdown menu doesn't appear and generates Javascript errors
  • RadGrid Grouping ceases to work,

Can anyone assist me?

Thanks,
 
Xavier.

Xavier
Top achievements
Rank 1
 answered on 26 Jun 2009
1 answer
131 views
I have a node template which has a number of image buttons on it.

Is there an easy way of getting the node  on which the buttons reside on the click event? More generically, is there a way of getting the parent node of any controls in the NodeTemplate on their click event?

--
Stuart
Atanas Korchev
Telerik team
 answered on 26 Jun 2009
25 answers
1.3K+ views

Hi there, sorry for posting the same question again, I am facing a problem while using multiple ajaxmanagers with JS  $find("<%= RadAjaxManager1.ClientID %>").ajaxRequest("Reset");

below is the details about the problem:

======> Main.aspx (is not a master page it’s a normal .aspx page)
            #
            #
            #=========> usercontrol1.ascx (this control is dynamically added to the Main.aspx page)
                                   ( it has the 1 radgrid, 1 radajaxmanage, 1 textbox)    
                                    ( while typing the text on the textbox i fire a JS event which fire a ajax request using this code
                                     $find(
"<%= RadAjaxManager1.ClientID %>").ajaxRequest("Reset"); )
            #
            #
            #=========> usercontrol2.ascx (this control is dynamically added to the Main.aspx page)
                                   ( it has the 1 radgrid, 1 radajaxmanage, 1 textbox)    
                                    ( while typing the text on the textbox i fire a JS event which fire a ajax request using this code $find(
"<%= RadAjaxManager1.ClientID %>").ajaxRequest("Reset"); )

there are two controls which are dynamically added on the main.aspx page, each control has its own radajaxmanager and fires a ajaxrequest using the JS function. if i add only one control to the page it works fine but as soon as I add the other control i start getting the "single instance" error message of radajax manager. I found few articles on the same but was not able to find the solution.

If there is any other example which solves the same problem kindly post it here



thanks aton
nitesh monga

            
Sebastian
Telerik team
 answered on 26 Jun 2009
6 answers
175 views
I am using the Slider with range, as in this example:
http://demos.telerik.com/aspnet-ajax/slider/examples/rangeslider/defaultcs.aspx

What I want to do is be able to have the whole range increase/decrease. That is to say, when the SelectionEnd moves 3 points to the right, SelectionStart should also move 3 point to the right.

The ideal way to do this is having the entire range move when the user clicks, holds down and drags somewhere withing the range (between the two DragHandles).

Is there a way to do this?
Henning
Top achievements
Rank 1
 answered on 26 Jun 2009
1 answer
110 views
Hi

I am having an intermittent error with the RadAjaxManager. When i add a rad ajax manager to a page and set it up everything seems to be ok. The page will load and run correctly. But then when i go to the source view of the aspx page in vs2005 and then back to the design view, the page won't load in the designer and i get this error:

AjaxSettings could not be initialized. Details 'AjaxSettings' could not be added to the collection. Details 'UpdatedControls' could not be initialized. Details 'UpdatedControls' could not be added to the collection. Details object does not match target type.

Sometimes this error happens and sometimes not. I then have to remove the rad ajax manager and add it again and the page loads fine in the designer until i use the source view.

Obviously this is very frustrating. I am using q3 2008.

thanks
Pavlina
Telerik team
 answered on 26 Jun 2009
6 answers
175 views

Hi to all,

it is possible to get the WIDTH of a RadGrid - Colum by Serverside or ClientSide!

I would like to set the WIDTH for a RadComboBox that is equal to the WIDTH to the RadGrid Column.

For visual reasons, I would like to set the width for the RadComboBox equal to column size

Thank

Laz
Top achievements
Rank 1
 answered on 26 Jun 2009
2 answers
132 views
Does anyone know if RadControls work well in Mobile Web development?
sandeep
Top achievements
Rank 1
 answered on 26 Jun 2009
3 answers
381 views
Hi team,
I have one rad grid, which have english data as well as russian data.
Excel and word export shows correct data.
but when i export as a PDF, russian language is getting replaced by "#" characters.
can any one help me to find the solution of this problem.

Regards,
Nitin
Daniel
Telerik team
 answered on 26 Jun 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?