Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
175 views
Hi all

I dropped a Radgrid  (2008.1.619.35) onto a form. In design mode and runtime, it gives me an error that is "The base class includes the field 'BugGrid', but its type (System.Web.UI.WebControls.GridView) is not compatible with the type of control (Telerik.Web.UI.RadGrid)."

BugGrid is the id of the grid control. Have never seen this one.. any ideas?

Harold

hchattaway
Top achievements
Rank 1
 answered on 04 Aug 2008
2 answers
229 views
I'm sure I'm missing something really obvious.  I started a new Ajax enabled site with a master page.  On the master page I created a rad menu in a div with a content place holder under that. 

I want to use the menu item to allow the users to navigate from one section of our company site to another (basically webforms within the project.)

Using the build menu feature, I've created one root item and set the navigate url page to Default.aspx.

On the web form connected the master page the menu control creates an error that says "the string telerik:telerik:radmenuitem1 contains too many device filters. There can be only one."

I'm not sure what I'm doing wrong but this happens with the treeview and context menu as well so I'm thinking there must be some kind of reference file I need to put in the project or I'm using the NavigateUrl incorrectly.

Appreciate the help.
Alice
Top achievements
Rank 1
 answered on 03 Aug 2008
1 answer
106 views

Hi

Can some one tell me why the delete event isnet fired.

Here is my code.

<%

@ Register assembly="Telerik.Web.UI, Version=2007.3.1314.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" namespace="Telerik.Web.UI" tagprefix="telerik" %>

.........

<

telerik:RadGrid ID="RadGrid2" Width="97%" AllowSorting="True" DataSourceID="SqlDataSource1"

AllowAutomaticInserts="True" AllowAutomaticUpdates="True" AllowAutomaticDeletes="True"

 

AllowPaging="True" GridLines="None" runat="server" ShowFooter="True"

ShowStatusBar="True">

<

ExportSettings>

<

Pdf PaperSize="Letter" FontType="Subset"></Pdf>

<

Excel Format="Html"></Excel>

</

ExportSettings>

 

<MasterTableView Width="100%" GridLines="None" CommandItemDisplay="TopAndBottom" DataSourceID="SqlDataSource1"

 

HorizontalAlign="NotSet" DataKeyNames="UserId" AutoGenerateColumns="false" AllowAutomaticDeletes="true">

 

<PagerStyle Mode="NextPrevAndNumeric" />

 

<Columns>

 

<telerik:GridEditCommandColumn>

 

</telerik:GridEditCommandColumn>

 

<telerik:GridBoundColumn DataField="UserId" UniqueName="CustomerID" HeaderText="Customer ID"></telerik:GridBoundColumn>

 

<telerik:GridButtonColumn CommandName="Delete" Text="Delete" UniqueName="DeleteColumn" CommandArgument="Delete">

 

</telerik:GridButtonColumn>

 

</Columns>

 

</MasterTableView>

 

</telerik:RadGrid>

 

<asp:SqlDataSource ID="SqlDataSource1" runat="server"

ConnectionString="<%$ ConnectionStrings:MaikenBeckConnectionString %>"

SelectCommand="SELECT [UserName], [LastLoginDate], [Email], [UserId] FROM [vw_aspnet_MembershipUsers] ORDER BY [LastLoginDate] DESC">

 

</asp:SqlDataSource>

and Code behind

protected

void RadGrid1_ItemDeleted(object source, GridDeletedEventArgs e)

{

e.ExceptionHandled =

true;

}

BR
Jakob

Jakob
Top achievements
Rank 1
 answered on 02 Aug 2008
2 answers
189 views
Hi..
I have a masterpage with a RadMenu...  the RadMenu_ItemClick fires but only 'captures'  the Item in the Root of the Menu
It does not fire for the 'child' menu items.  Any ideas?  thanks!!!!!!!!!





<telerik:RadMenu ID="RadMenu" Runat="server" skin="Web20"

BorderStyle="None" style="top: 0px; left: 0px; width: 970px"

onitemclick="RadMenu_ItemClick" >

 

<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>

 

<Items>

 

<telerik:RadMenuItem runat="server" Text="Home" Font-Size="Larger"

ImageUrl="img\home.png" ToolTip="Home" NavigateUrl="default.aspx">

 

</telerik:RadMenuItem>

 

<telerik:RadMenuItem runat="server" Text="Records" Font-Size="Larger"

ImageUrl="img\server_mail.png" ToolTip="Records">

 

<Items>

 

<telerik:RadMenuItem runat="server" Text="Search Constituents Records"

ImageUrl="img\businessman_find.png"

NavigateUrl="/pages/SearchConstituentRecords.aspx">

 

</telerik:RadMenuItem>

 

<telerik:RadMenuItem runat="server" Text="Add Constituents Records"

ImageUrl="img\businessman_add.png"

NavigateUrl="/pages/AddConstituentRecords.aspx">

 

</telerik:RadMenuItem>

 

<telerik:RadMenuItem runat="server" Text="Update Constituents Records"

ImageUrl="img\businessman_preferences.png"

NavigateUrl="pages/UpdateConstituentRecords.aspx">

 

</telerik:RadMenuItem>

 

</Items>

 

</telerik:RadMenuItem>

.................








Jon
Top achievements
Rank 1
 answered on 02 Aug 2008
6 answers
174 views
Hello,

I have a problem with insert appointment,
 if i had to insert another appointment to the same recurrence not mistake me,
 I need a function that I checks if the field is free, there a solution?

Bye
Peter
Telerik team
 answered on 02 Aug 2008
2 answers
242 views
I know this has been asked and was stated it was too late for Q1 release.. but is there a method to achieve the same menu style as the asp:menu on my sample.. I am using your standard web.sitemap. I do not want to see two flyouts, but rather
All Sites  
  Search Engines  
     Yahoo 
     MSN 
     Google 
   News Sites 
     CNN 
     BBC 
     FOX


  <asp:ScriptManager ID="ScriptManager1" runat="server">  
        </asp:ScriptManager> 
       <asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" />   
       
 
        
        
       <telerik:RadMenu OnClientLoad="ShowSecondLevel" ClickToOpen="false"   
        ID="RadMenu1" runat="server"   
        DataSourceID="SiteMapDataSource1"   
        Skin="Inox" ExpandAnimation-Type="InCubic">  
        <ExpandAnimation Duration="20" /> 
          
            <CollapseAnimation Duration="200" Type="OutQuint" /> 
        </telerik:RadMenu> 
        <br />  <br />  <br /> 
        <asp:Menu ID="Menu1" runat="server" BackColor="#F7F6F3" DataSourceID="SiteMapDataSource1" 
                DynamicHorizontalOffset="2" Font-Names="Verdana" Font-Size="0.8em" ForeColor="#7C6F57" 
                Height="40px" StaticDisplayLevels="3" StaticSubMenuIndent="10px" TabIndex="3">  
                <StaticSelectedStyle BackColor="#5D7B9D" /> 
                <StaticMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" /> 
                <DynamicHoverStyle BackColor="#7C6F57" ForeColor="White" /> 
                <DynamicMenuStyle BackColor="#F7F6F3" /> 
                <DynamicSelectedStyle BackColor="#5D7B9D" /> 
                <DynamicMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" /> 
                <StaticHoverStyle BackColor="#7C6F57" ForeColor="White" /> 
            </asp:Menu> 

if you have a workaround that would be cool
thanks.
mac
Peter
Telerik team
 answered on 02 Aug 2008
2 answers
81 views
I have asp.net 2.0 with ajax and Validation error messages no longer appear after a partial postback how can i solve the problem give me some conclusions
Anil
Anil
Top achievements
Rank 1
 answered on 02 Aug 2008
1 answer
86 views
Hi :o)

I have a grid containing customers with a link to jump to the customer detail form.

The grid is set up to page - showing 20 records at a time.

Say the customer I click on is on page 4 - when I jump to the detail form then back again to the customer list the grid resorts back to page 1.

Is there any way that I can restore the grid back to a given page when the webform re-loads so the list is where I left it.

Hope this makes sense.

Thank you for your time

Tim 
Sean
Top achievements
Rank 2
 answered on 01 Aug 2008
1 answer
149 views
In the RadGrid that we're currently using when you go to add a record it changes the page index to the last page. Is there any way to stay on the current page when doing an add?

Thanks
Sean
Top achievements
Rank 2
 answered on 01 Aug 2008
2 answers
112 views

Using the techniques described in KB Article "(ID#1059) Setting special days or time slots in RadScheduler" I am able to set the css as described for any cell in any column exept the first one (in a week view ).

 While in debug I noticed that it is firing twice for every cell created (eg goes thru Sun Column, then Mon Column etc... then Sun, then Mon etc. again.

  As a test I tried the following:

void RadScheduler1_TimeSlotCreated(object sender, TimeSlotCreatedEventArgs e)
       {
           e.TimeSlot.CssClass = "disabled";
       }
("disabled" CSS had a background of Red )
Expecting all cells to be Red, all were, exept the first column. I see it execute the statement for every cell but does not render the first column.
 
Any idea of why it goes thru this method twice ? and only the first column is not rendered?

Thanks - Len


Len
Top achievements
Rank 1
 answered on 01 Aug 2008
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?