Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
167 views
Hello!

I don“t know if this is by design or a bug. But if I have a grid with one or more columns that is hidden (not want to display them). The RadFilter still gives the user that choice in the RadFilter function.

Is this the correct behavior? If so how can I programatically hide those hidden columns also for the RadFilter component?

Or is this the way I should do it?

   protected void RadFilter1_FieldEditorCreated(object sender, RadFilterFieldEditorCreatedEventArgs e) 
    { 
        if (e.Editor.FieldName.Equals("BlockValue")) 
        { 
            this.RadFilter1.FieldEditors.Remove(e.Editor); 
        } 
    } 

 

/M
Nikolay Rusev
Telerik team
 answered on 28 May 2010
9 answers
185 views
When I enable grid scrolling with static headers the grid filters disappear. How do I get both visible and functional and still have static headers?

                <Scrolling AllowScroll="True" UseStaticHeaders="true" SaveScrollPosition="True">
                </Scrolling>

Thanks in advance.

Keith E.
Pavlina
Telerik team
 answered on 28 May 2010
1 answer
146 views
I am implementing functionality similar to http://demos.telerik.com/aspnet-ajax/listview/examples/selecting/defaultcs.aspx using the ListView.  For some reason I am getting significant performance delay between the time I click on the item to the time the items shows that its selected.  Any pointers on causes of this performance hit would be greatly appreciated.

Regards,

BillC
Rosen
Telerik team
 answered on 28 May 2010
1 answer
58 views
Hi

I've got a GridNumericColumn in a RadGrid which I want to restrict to >0 on edit.

I've added a GridNumericColumnEditor with MinValue=0 onto the page and set the ColumnEditorID on the GridNumericColumn.

The problem I have is that the Editor only gets applied to the first row in my grid when I fire an EditAll command putting all rows into edit mode.

I've attached a cut-down screenshot of the issue. I've added SpinButtons to the Editor for clarity.

Thanks
david mills
Top achievements
Rank 1
 answered on 28 May 2010
2 answers
146 views

I wrote an external JS file and placed in RadCodeBlock.

Sometimes I changed JS code and reran, it performed old JS code.

I had to rename JS file name solving this program.

Any good idea without renaming JS file name?

It's no use deleting cached JS file or pressing Ctrl+F5 in IE8 browser.

ChainHome Yang
Top achievements
Rank 1
 answered on 28 May 2010
1 answer
98 views
Hi,

We are using a RadWindow manager and many child windows in it as widgets. The widgets are opening properly, but the resizing is not working as intended. The vertical and horizontal resize are not working, i.e. the mouse cursor is changing on the window border but when we drag, the window is not getting resized. The resize is working only when we resize diagonally from right top or left top window corner.


Regards,
Vinod
Fiko
Telerik team
 answered on 28 May 2010
1 answer
88 views
I access a page in my projcect using  different  web browser.   

case 1 :   if I access it using FF or IE8 first , then access it using IE6.  
               IE6 will prompt a javascript error :'length' is null or not a object.
case 2:   if I access it using IE6 first , then access it using FF or IE8.    
               FF will prompt a error: e is null ,  the prompt from IE8 is same as case 1.

in case 1, I debug it using vs2008,  the problem line is "b<e.length"  in Telerik.Web.UI.Ajax.Ajax.js .
I use master page, below is my content page
<asp:Content ...> 
  <script ...> 
     some script codes  
  </script...> 
 
   some web controls  
 
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" OnAjaxRequest="RadAjaxManager1_AjaxRequest">  
        <AjaxSettings> 
            <telerik:AjaxSetting AjaxControlID="rtvGrids">  
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="rtvGrids" /> 
                    <telerik:AjaxUpdatedControl ControlID="rgChildren" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
            <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">  
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="rtvGrids" /> 
                    <telerik:AjaxUpdatedControl ControlID="rgChildren" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
            <telerik:AjaxSetting AjaxControlID="rgChildren">  
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="rgChildren" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
        </AjaxSettings> 
    </telerik:RadAjaxManager> 
 
</asp:Content> 
is there any problem at AjaxSettings ?
Iana Tsolova
Telerik team
 answered on 28 May 2010
1 answer
105 views
Hello,
I am trying to display a RadChart and am getting the following error.  I've tried posting this to your forum a few other times and got a server error so this will be my last attempt.

Compiler Error Message: CS0433: The type 'Telerik.Charting.ChartSeriesItem' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7818b6ff\5b5c0f3c\assembly\dl3\161ec912\00bcb7fa_f106c901\Telerik.Charting.DLL' and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7818b6ff\5b5c0f3c\assembly\dl3\111c8f88\00a23f6e_7c94ca01\Telerik.Web.UI.DLL'

Source Error:

Line 156:        
Line 157:        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
Line 158: private global::Telerik.Charting.ChartSeriesItem @__BuildControl__control5() {Line 159:            global::Telerik.Charting.ChartSeriesItem @__ctrl;
Line 160:
Ves
Telerik team
 answered on 28 May 2010
1 answer
75 views
Hi All,

I am trying to put together a form that when submitted would represent a parent entity with child entities and child child entities. I would like to use RadGrid to store the child entities on the page before the submit. There is a single submit that will save everything in the page.

I am using RadWindow to pop-up a (sub)form which i hope to then insert the result of the form into the grid on the parent page.. either with js or in ajax. I have the form and i am sending the result back to the main form.. i need to now write the result of the sub-form to the grid.

Can i use radgrid to do this?? ie: have each row in a grid represent a related entity in the grid? There is no databanding in this i am strictly trying to use the grid as a container for data i want to ultimately submit back to the server.

If this can be done i need to know how to add the rows either in JS or in code-behind for the grid where these added rows will ultimately be available in code-behind. thanks!

Rich
Pavlina
Telerik team
 answered on 28 May 2010
1 answer
91 views
HI,

I am using radgrid in my project.I have couple of questions regarding radgrid .

1) Since I do want to use Skins I have set Enable embedded skins property to false and apply styles to the grid.The problem is that vertical borders doesnt appear in IE while in Firefox it shows up.I have posted my code and styles below.

2)Since I want custom page template, using Pager template I am creating Paging for radgrid.I am able to create First,Previous,Next and Last  using that.But I want to have numbers also appeared in middle of Previous and Next.Is there any way displaying numbers horizontally in labels instead of textbox.

Could anyone please solve this issues as soon as possible.its urgent.

For eg the paging style should look as:<< Previous 1 2 3 Next >>.

Code:

 

<telerik:RadGrid ID="ProfileRadGrid" runat="server" GridLines="Both" AllowSorting="True"

 

 

AllowPaging="True" PageSize="5" Height="400px" PagerStyle-AlwaysVisible="true" AutoGenerateColumns="False" EnableEmbeddedSkins="false">

 

 

<HeaderStyle CssClass="gridheader" Wrap="true" />

 

 

<ItemStyle CssClass="gridrow" Wrap="true" BorderColor="Black" BorderStyle="Solid" />

 

 

<AlternatingItemStyle CssClass="gridalternatingrow" Wrap="true" />

 

 

<PagerStyle Mode="NumericPages"/>

 

 

 

<MasterTableView>

 

 

<PagerTemplate>

 

 

<table border="0" cellspacing="0" cellpadding="0" height="18px" width="100%">

 

 

<tr>

 

 

<td style="border-style: none;">

 

 

<asp:LinkButton ID="LinkButton1" CommandName="Page" CausesValidation="false" CommandArgument="First"

 

 

runat="server" CssClass="linkbutton_blue"><<</asp:LinkButton>&nbsp;&nbsp;

 

 

<asp:LinkButton ID="LinkButton5" CommandName="Page" CausesValidation="false" CommandArgument="Prev"

 

 

runat="server" CssClass="linkbutton_blue">Previous Page</asp:LinkButton>&nbsp;&nbsp;

 

 

<asp:LinkButton ID="LinkButton3" CommandName="Page" CausesValidation="false" CommandArgument="Next"

 

 

runat="server" CssClass="linkbutton_blue">Next Page</asp:LinkButton>&nbsp;&nbsp;

 

 

<asp:LinkButton ID="LinkButton2" CommandName="Page" CausesValidation="false" CommandArgument="Last"

 

 

runat="server" CssClass="linkbutton_blue">>></asp:LinkButton>

 

 

</td>

 

 

<td style="border-style: none; white-space: nowrap;">

 

 

</td>

 

 

 

 

</tr>

 

 

</table>

 

 

</PagerTemplate>

 

 

<Columns>

 

 

...................................
.................................
</
Columns>

 

 

</MasterTableView>

 

 

</telerik:RadGrid>

 

 


Style:

.gridheader

{

 

background-color: #c3c3c3;

 

 

font-family: Arial,Times New Roman,Trebuchet MS,Sans-Serif;

 

 

font-size: 13px;

 

 

font-weight:normal;

 

 

text-align: left;

 

 

color: Black;

 

 

text-transform: none;

 

 

text-align: left;

 

 

vertical-align: top;

 

 

border-bottom:solid thin black;

 

 

border-top:solid thin black;

 

 

border-left:solid thin black;

 

 

border-right:solid thin black;

 

 

height: 25px;

 

 

text-align: left;

 

}

.gridheader

 

a

 

{

 

text-decoration:none;

 

 

color: Black;

 

}

.gridrow

{

 

 

 

background-color:White;

 

 

font-family: Arial,Times New Roman,Trebuchet MS,Sans-Serif;

 

 

font-size: 13px;

 

 

text-align: left;

 

 

color: Black;

 

 

text-transform: none;

 

 

vertical-align: top;

 

 

text-decoration:none;

 

 

height: 25px;

 

 

border-bottom:solid thin black;

 

 

border-top:solid thin black;

 

 

border-left:solid thin black;

 

 

border-right:solid thin black;

 

}

.gridrow

 

a

 

{

 

text-decoration:none;

 

 

color: blue;

 

 

}

.gridalternatingrow

{

 

 

 

background-color:White;

 

 

font-family: Arial,Times New Roman,Trebuchet MS,Sans-Serif;

 

 

font-size: 13px;

 

 

text-align: left;

 

 

color: Black;

 

 

text-transform: none;

 

 

vertical-align: top;

 

 

text-decoration:none;

 

 

height: 25px;

 

 

border-bottom:solid thin black;

 

 

border-top:solid thin black;

 

 

border-left:solid thin black;

 

 

border-right:solid thin black;

 

}

.gridalternatingrow

 

a

 

{

 

text-decoration:none;

 

 

color: blue;

 

 

}


Also I have attached how grids look between firefox and ie.

Thanks,
Dwarak

Iana Tsolova
Telerik team
 answered on 28 May 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?