Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
211 views
Hi
I have been examing the requests between IE7 and one of our servers (IIS6)

I note that there is request rejected due to authorization failure (401.2)

This is in part due to IIS being configure to use NTLM only which is as it has to be.

By allowing anonymous access to some of the static content I can remove the failure for those requests.

However,  may of the resources are embedded.

Is it possible to set anonymous permissions on these embedded resources?

Or is there a global solution?

Cheers
Martin

Atanas Korchev
Telerik team
 answered on 05 Jun 2009
4 answers
144 views

i am getting this error The Controls collection cannot be modified because the control contains code blocks

i dont know what it means this is the code that i have changed to cause it

 

<

 

telerik:AjaxSetting AjaxControlID="RadMenu1">  

 

 

 

    <UpdatedControls>

         

 

<telerik:AjaxUpdatedControl ControlID="RadMenu1" />
    
</UpdatedControls>
</telerik:AjaxSetting>

 

 

 

 

 



also the control isnt rendering properly and i have the lastest set of controls i dont know why this is happening
Kevin
Top achievements
Rank 1
 answered on 05 Jun 2009
4 answers
154 views
Hi,
I'm experiencing problems trying to delete an appointment using RadScheduler with entitydatasource.
Insert and update work fine, but while performing delete i get back a NullReferenceException just before deleting event of the datasource is fired.
I've read in the web that Entity Framwork could have some bugs about this matter.
Does anybody have the same problem?
Thanx in advance.
Doug Beard
Top achievements
Rank 2
 answered on 05 Jun 2009
2 answers
71 views
I am being given the message:
Your Security Settings do not allow website to use ActiveX controls installed on your computer.  This page may not display correctly, click here for options            

Right after that  I get an Error POP-Up saying " A Runtime Error has occured, Do you wish to debug?  Line:6 Object Expected.

Debugging on windows 2003 Server ie7 Q1 2009 Telerik.web.ui
Zed
Top achievements
Rank 1
 answered on 05 Jun 2009
2 answers
117 views
Hello,
 I'm having a problem with the clientside column resizing on grids that are contained in an ASP:ContentPlaceholder for a master page. 
When using the grids on a stand alone page (like in a RadWindow popup that does not inherit from the master page), I've not had an issue with resizing columns. 
The column reorder, item sort and filtering are fine.  But when hovering the mouse over the column dividers, it does not change pointers to the re-size, and you can't drag any of of cell divider lines (column or row) to re-size. 

The site is being tested on IE7 with .NET 3.5 installed. 
Below is the markup for one of the grids I've been having an issue with:
It's contained within an update panel and an ASP formview that are the main elements in the content placeholder.
The script manager tag is on the master page.



<telerik:RadGrid  
                            ID="rgvRepository"  
                            runat="server"  
                            AllowPaging="True"  
                            OnNeedDataSource="rgvRepositoryAccounts_NeedDataSource" 
                            OnItemDataBound="rgv_OnItemDataBound" 
                            GridLines="None" 
                            Skin="Office2007"  
                            Width="700px"  
                            AllowCustomPaging="False"  
                            PageSize="5"   
                            AllowSorting="True"  
                            ForeColor="Black"  
                            AutoGenerateColumns="False"> 
                            <MasterTableView TableLayout="Auto"> 
                                <RowIndicatorColumn> 
                                    <HeaderStyle Width="20px" /> 
                                </RowIndicatorColumn> 
                                 
                                <ExpandCollapseColumn> 
                                    <HeaderStyle Width="20px" /> 
                                </ExpandCollapseColumn> 
                                
                                <HeaderStyle Wrap="true" HorizontalAlign="Center"/> 
                 
                        <Columns> 
                        <telerik:GridBoundColumn DataField="C06NAME" EmptyDataText="&amp;nbsp;"  
                            HeaderText="Name" MaxLength="35" UniqueName="C06NAME" Resizable="true"> 
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn DataField="C06ACCT" EmptyDataText="&amp;nbsp;"  
                            HeaderText="Account" MaxLength="30" UniqueName="C06ACCT" Resizable="true"> 
                        </telerik:GridBoundColumn> 
                        <!-- More gridbound coloumns with the same options removed. --> 
                    </Columns> 
                </MasterTableView> 
                <ClientSettings  
                                    AllowColumnHide="false"  
                                    AllowColumnsReorder="true"  
                                    ReorderColumnsOnClient="true" 
                                    ColumnsReorderMethod="Reorder"> 
                                <Selecting AllowRowSelect="true" /> 
                                 
                    <ClientEvents OnRowSelected="SelectAccountRow"  
                                  OnRowContextMenu="RowClicked" /> 
                    <Resizing AllowRowResize="True" EnableRealTimeResize="True" ResizeGridOnColumnResize="True" 
                                AllowColumnResize="True"></Resizing> 
                    <Scrolling AllowScroll="true" /> 
                </ClientSettings> 
                <FilterMenu EnableTheming="True"> 
                    <CollapseAnimation Duration="200" Type="OutQuint" /> 
                </FilterMenu> 
             
            </telerik:RadGrid> 
 

Here is some of the master page (I've omitted some static items, images and the like for brevity).  All the grids on child pages would be within the contentplaceholder1 control.
<form id="mmaster" defaultbutton="btnOK"  runat="server"> 
     
    <asp:ScriptManager ID="ScriptManager1" runat="server" /> 
           
          <div class="PageTitle"> 
          <asp:Label  CssClass="TextPadl" Font-Bold="true" Height="25px" ID="lblPageTitle" runat="server" Text=""></asp:Label>  
           <br /> 
          <asp:Label CssClass="TextPadl" runat="server" ForeColor="red" ID="lblError"  ></asp:Label> 
      </div> 
       
      <div  id="sidemenudiv" runat="server" class="mLeftMenu"> 
            
           <asp:Label CssClass="mLeftMenuL" ID="lblSystem" runat="server">  
            
           </asp:Label> 
            
           <br /> 
           <br /> 
           <br /> 
 
          <asp:ContentPlaceHolder  ID="ContentPlaceHolder2" runat="server" > 
        
            </asp:ContentPlaceHolder> 
          
          <UserControl:TreeViewControl ID="TreeViewControl" runat="server" /> 
           
           
            
     </div> 
      
      
        <div class="Buttons" > 
            <asp:Button ID="btnOK" runat="server" CssClass="Button" /> 
            <asp:Button ID="btnCancel" runat="server" CssClass="Button" CausesValidation="false" /> 
            <asp:Button ID="btnApply" runat="server" CssClass="Button" /> 
            <asp:Button ID="btnClear" runat="server" CssClass="Button" /> 
            <br/> <br/> 
        </div> 
     
     
     <div id="msDiv" runat="server" class="ContentHolder"> 
         <div id="DebtorRow" runat="server" style="position:relative; left:30px; top:10px; width:300px;"> 
             <asp:Label ID="lblDCode"   Width="70px" Font-Bold="true" ForeColor="blue"  runat="server" ></asp:Label> 
             <asp:Label ID="lblDCodeVal"  runat="server" ></asp:Label> 
         </div> 
        <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server"> 
        
        </asp:ContentPlaceHolder> 
    </div> 

Hopefully I'm just missing an option, or need to configure something something on the master page, but I'm having trouble finding what that might be.
Thanks for any suggestions as to what I'm doing wrong.
 
Dan Lewis
Top achievements
Rank 1
 answered on 05 Jun 2009
2 answers
327 views
I have a GridFoterItem in my ItemDatabound and it works great.  The only issue I have with it is that I don't know how to align the text to the right instead of the default left. Below is what I have any help would be great!  Thanks!

 

GridFooterItem footerItem = e.Item as GridFooterItem;

 

footerItem[

"person"].Controls.Add(new LiteralControl("<strong>Total</strong><br/>"));

 

Mike
Top achievements
Rank 1
 answered on 05 Jun 2009
2 answers
101 views
I'm building a master detail kind of application where you first select a client in a radgrid and then on selection it updates a series of radtab's with detailed information about that client (payments, events, calls etc). How would I handle this scenario? How can I pass the grid's selecteditemid tot the datasources inside the radtabs and update them?

goyaweb
Top achievements
Rank 2
 answered on 05 Jun 2009
5 answers
201 views
I have the following client settings in my RadGrid using the static header. However, when I try to select a row, the reaction is very slow and the layout out the grid content even totally change.(eg. the column width become very wide) I need to allso rows selection and use static hearder with scrolling. Could you please advice what is the problem of my grid. Thanks.
                                    

           <telerik:RadGrid ID="rgAfftAdd" runat="server" AutoGenerateColumns="False"
                                               GridLines="None" Skin="WebBlue" Width="100%" BorderStyle="Solid"
                                               BorderColor="#3399FF" BorderWidth="1px"
                                               AllowMultiRowSelection="True" AllowSorting="True"
                                               onprerender="rgAfftAdd_PreRender">
                                                 
                                        <SelectedItemStyle BackColor="#99CCFF" />      
                                     
                                        <ClientSettings>
                                                 <Selecting AllowRowSelect="true" />
                                               <Scrolling AllowScroll="True" UseStaticHeaders="true"></Scrolling> 
                                        </ClientSettings>   

                                        <MasterTableView Font-Bold="False" Font-Italic="False" Font-Overline="False"
                                                         Font-Strikeout="False" Font-Underline="False" PageSize="2000"
                                                        
                                            ClientDataKeyNames="TYPE, START_TIME, ADDR, SP_CUST, REC_NO, lid, ln_sub_no"
                                            Width="98%" AllowMultiColumnSorting="True">
                                                          
                                                <RowIndicatorColumn>
                                                    <HeaderStyle Width="20px"></HeaderStyle>
                                                </RowIndicatorColumn>

                                                <ExpandCollapseColumn>
                                                    <HeaderStyle Width="20px"></HeaderStyle>
                                                </ExpandCollapseColumn>
                                           
                                                <Columns>
                                                    <telerik:GridBoundColumn DataField="TYPE" HeaderText="Type" UniqueName="TYPE">
                                                        <HeaderStyle Width="12%" />
                                                        <ItemStyle VerticalAlign="Top" />
                                                    </telerik:GridBoundColumn>
                                                    <telerik:GridBoundColumn DataField="START_TIME" DataType="System.DateTime"
                                                                             HeaderText="Start Time" UniqueName="START_TIME"
                                                                             DataFormatString="{0:dd/MM/yyyy HH:mm:ss}">
                                                        <HeaderStyle Width="14%" />
                                                        <ItemStyle VerticalAlign="Top" />
                                                    </telerik:GridBoundColumn>
                                                    <telerik:GridBoundColumn DataField="ADDR" HeaderText="Address" UniqueName="ADDR">
                                                        <HeaderStyle Width="59%" />
                                                        <ItemStyle VerticalAlign="Top" />
                                                    </telerik:GridBoundColumn>
                                                    <telerik:GridBoundColumn DataField="SP_CUST" HeaderText="Sp. Cust."
                                                                             UniqueName="SP_CUST" Aggregate="Count" ReadOnly="True">
                                                        <HeaderStyle Width="15px" />
                                                        <ItemStyle VerticalAlign="Top" />
                                                    </telerik:GridBoundColumn>
                                                    <telerik:GridBoundColumn DataField="REC_NO" HeaderText="Rec_No" UniqueName="REC_NO" Visible = "false">
                                                        <ItemStyle VerticalAlign="Top" />
                                                    </telerik:GridBoundColumn>
                                                    <telerik:GridBoundColumn DataField="lid" UniqueName="lid" Visible = "false" >
                                                        <ItemStyle VerticalAlign="Top" />
                                                    </telerik:GridBoundColumn>
                                                    <telerik:GridBoundColumn DataField="ln_sub_no" UniqueName="ln_sub_no" Visible = "false">
                                                        <ItemStyle VerticalAlign="Top" />
                                                    </telerik:GridBoundColumn>
                                                </Columns>
                                               
                                                <PagerStyle Mode="NextPrevNumericAndAdvanced" />
                                                <HeaderStyle Font-Bold="True" Font-Italic="False" Font-Overline="False"
                                                             Font-Strikeout="False" Font-Underline="False" ForeColor="Black" Wrap="True" />       
                                        </MasterTableView>                   

                                        <FilterMenu EnableTheming="True" Skin="WebBlue">
                                            <CollapseAnimation Duration="200" Type="OutQuint" />
                                        </FilterMenu>

                                </telerik:RadGrid>



Tsvetoslav
Telerik team
 answered on 05 Jun 2009
1 answer
170 views
I have the following client settings in my RadGrid using the static header. However, when I try to select a row, the reaction is very slow and the layout out the grid content even totally change.(eg. the column width become very wide) I need to allow rows selection and use static hearder with scrolling. Could you please advice what is the problem of my grid. Thanks.
                                    

           <telerik:RadGrid ID="rgAfftAdd" runat="server" AutoGenerateColumns="False"
                                               GridLines="None" Skin="WebBlue" Width="100%" BorderStyle="Solid"
                                               BorderColor="#3399FF" BorderWidth="1px"
                                               AllowMultiRowSelection="True" AllowSorting="True"
                                               onprerender="rgAfftAdd_PreRender">
                                                 
                                        <SelectedItemStyle BackColor="#99CCFF" />      
                                     
                                        <ClientSettings>
                                                 <Selecting AllowRowSelect="true" />
                                               <Scrolling AllowScroll="True" UseStaticHeaders="true"></Scrolling> 
                                        </ClientSettings>   

                                        <MasterTableView Font-Bold="False" Font-Italic="False" Font-Overline="False"
                                                         Font-Strikeout="False" Font-Underline="False" PageSize="2000"
                                                        
                                            ClientDataKeyNames="TYPE, START_TIME, ADDR, SP_CUST, REC_NO, lid, ln_sub_no"
                                            Width="98%" AllowMultiColumnSorting="True">
                                                          
                                                <RowIndicatorColumn>
                                                    <HeaderStyle Width="20px"></HeaderStyle>
                                                </RowIndicatorColumn>

                                                <ExpandCollapseColumn>
                                                    <HeaderStyle Width="20px"></HeaderStyle>
                                                </ExpandCollapseColumn>
                                           
                                                <Columns>
                                                    <telerik:GridBoundColumn DataField="TYPE" HeaderText="Type" UniqueName="TYPE">
                                                        <HeaderStyle Width="12%" />
                                                        <ItemStyle VerticalAlign="Top" />
                                                    </telerik:GridBoundColumn>
                                                    <telerik:GridBoundColumn DataField="START_TIME" DataType="System.DateTime"
                                                                             HeaderText="Start Time" UniqueName="START_TIME"
                                                                             DataFormatString="{0:dd/MM/yyyy HH:mm:ss}">
                                                        <HeaderStyle Width="14%" />
                                                        <ItemStyle VerticalAlign="Top" />
                                                    </telerik:GridBoundColumn>
                                                    <telerik:GridBoundColumn DataField="ADDR" HeaderText="Address" UniqueName="ADDR">
                                                        <HeaderStyle Width="59%" />
                                                        <ItemStyle VerticalAlign="Top" />
                                                    </telerik:GridBoundColumn>
                                                    <telerik:GridBoundColumn DataField="SP_CUST" HeaderText="Sp. Cust."
                                                                             UniqueName="SP_CUST" Aggregate="Count" ReadOnly="True">
                                                        <HeaderStyle Width="15px" />
                                                        <ItemStyle VerticalAlign="Top" />
                                                    </telerik:GridBoundColumn>
                                                    <telerik:GridBoundColumn DataField="REC_NO" HeaderText="Rec_No" UniqueName="REC_NO" Visible = "false">
                                                        <ItemStyle VerticalAlign="Top" />
                                                    </telerik:GridBoundColumn>
                                                    <telerik:GridBoundColumn DataField="lid" UniqueName="lid" Visible = "false" >
                                                        <ItemStyle VerticalAlign="Top" />
                                                    </telerik:GridBoundColumn>
                                                    <telerik:GridBoundColumn DataField="ln_sub_no" UniqueName="ln_sub_no" Visible = "false">
                                                        <ItemStyle VerticalAlign="Top" />
                                                    </telerik:GridBoundColumn>
                                                </Columns>
                                               
                                                <PagerStyle Mode="NextPrevNumericAndAdvanced" />
                                                <HeaderStyle Font-Bold="True" Font-Italic="False" Font-Overline="False"
                                                             Font-Strikeout="False" Font-Underline="False" ForeColor="Black" Wrap="True" />       
                                        </MasterTableView>                   

                                        <FilterMenu EnableTheming="True" Skin="WebBlue">
                                            <CollapseAnimation Duration="200" Type="OutQuint" />
                                        </FilterMenu>

                                </telerik:RadGrid>

Tsvetoslav
Telerik team
 answered on 05 Jun 2009
2 answers
295 views
I have created a custom RadGrid class and added export buttons inside the CommandItemTemplate.  When I export to Excel/PDF the hyperlinks (value) do not show up.  I know setting ExportDataOnly="false" takes care this but my web pages crash when I set it to false.  Is there a solution to this?  Thanks,
Robert
Top achievements
Rank 1
 answered on 05 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?