Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
66 views
I am not getting any error. However the row does not get deleted. Below are the details:

<asp:SqlDataSource ID="SqlDataSourceCredit" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionStringLeasePak %>"
        ProviderName="<%$ ConnectionStrings:ConnectionStringLeasePak.ProviderName %>"
         DeleteCommand="delete from portal.creditapplication where capid = :CAPID">
        <DeleteParameters>
            <asp:Parameter Name="CAPID" Type="Int32"/>
        </DeleteParameters>
    </asp:SqlDataSource>

Thanks,
Dinesh.
Dinesh
Top achievements
Rank 1
 asked on 11 Jun 2012
3 answers
77 views
We recently upgraded a website solution from Visual Studio 2008 til Visual Studio 2010 and .NET 4.0 run time.

We are using rad controls 2.7.0.

After the deployment we started getting this JavaScript run time error "Object doesn't support this property or method "Dispose".

Webpage error details


User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)
Timestamp: Fri, 1 Jun 2012 13:48:37 UTC




Message: Object doesn't support this property or method
Line: 1
Char: 2655
Code: 0
URI: http://localhost/WebResource.axd?d=LqkO_BSTes_p7ojon7e3j55Z8SiW7LISKdvkyOTLsosB67jtr8-nQ3cLsNJYPruAdDUTGOtwxCZ1H9ydWUNz0NoCSAvhT7reN0nQ5me2PljrHQx0YqwEPOrFkjMSPm1F0&t=633129313340000000

I cannot reproduce the problem on my development environment. But I can reproduce it on my test environment where I'm running an IIS site.

I looked in my bin folder and I found RadComboBox.Net2.dll (version 2.7.0.0).

I'm new to rad controls. Do we need to upgrade the rad controls? Is there a an upgrade guide?

Any help is appreciated.

I found this thread http://www.telerik.com/community/forums/aspnet-ajax/ajax/radajax-broken-in-vs-2010-beta-2-in-master-content-pages.aspx that has workaround of setting ClientIDMode property of the Page to "AutoID". It worked on my test environments.

1st test environment: Microsoft Windows Server 2003 R2, .NET 4, IIS6
2nd test environment: Microsoft Windows Server 2008 R2, NET 4, IIS 7.5

However it is still not working on our partner test environment: Microsoft Windows Server 2008 Standard, .NET 4, IIS 7.0

It's a puzzle and any help is appreciated.
Ivana
Telerik team
 answered on 11 Jun 2012
0 answers
91 views
The OnKeyPress event will fire on a RadGrid but NOT when you are in Edit Mode using EditMode="EditForms". 

How do I capture KeyPress event in a RadGrid while in Edit Mode?
Robert
Top achievements
Rank 1
 asked on 11 Jun 2012
1 answer
64 views
Does the functionality exist somewhere to allow users to edit recurrences to change only dates past the date selected?
If so, great... how?
If not, is there a way to change the dialogue box that comes up after you edit a recurrence where it says "only this event" or "the series" to add one that says "this and all future events". That way I could programatically end the current series and create a new one going forward with the changes from a single prompt/.

Thanks!
Peter
Telerik team
 answered on 11 Jun 2012
3 answers
102 views
Hi there,

I try to expand the parent and child items in client-side but it seems that you can't. This is my code:

function OnClientItemClicking(sender, eventArgs) {
            var item = eventArgs.get_item();
             
            if (item.get_expanded()) {
                item.collapse();
            }
            else {
                item.expand();
            }
 
            var panelBar = $find("ctl00_RadPanelBar1");
 
            var panelItem = panelBar.findItemByValue("AccountFooter");
            panelItem.show();
 
            panelItem = panelBar.findItemByValue("TopicFooter");
            panelItem.hide();
 
            var parentItem = item.get_items().getItem(0);
            parentItem.expand();
 
            eventArgs.set_cancel(true); // Cancel the postback
           
        }

Thanks for quick help!
Claudio

Kate
Telerik team
 answered on 11 Jun 2012
2 answers
129 views
Hi,

I have the a ComboBox with static items inside a ListView:

 <asp:ListView runat="server" ID="lvRoomUsers" 
        ItemPlaceholderID="itemPlaceHolder1" OnItemCommand="lvRoomUsers_ItemCommand"
        onitemdatabound="lvRoomUsers_ItemDataBound" >

                <LayoutTemplate>
                    <table id="tblRoomUsers" class="Grid" cellspacing="0">
                    <tr><th colspan="3">Users in This Room</th></tr>
                       <asp:PlaceHolder ID="itemPlaceHolder1" runat="server" />
                    </table>
                </LayoutTemplate>
                <ItemTemplate>
                  <tr>
                  <td>
                  <asp:HiddenField ID="hfUser" runat="server" Value='<%# Eval("Id") == null ? String.Empty : Eval("Id").ToString() %>' />
                  <asp:HiddenField ID="hfReadOnly" runat="server" Value='<%# Eval("ReadOnly") == null ? String.Empty : Eval("ReadOnly").ToString() %>' />
                  <%# Eval("FirstName") == null ? String.Empty : Eval("FirstName").ToString() + " " + Eval("Surname").ToString()%></td>
                  <td>
                  <asp:UpdatePanel ID="upPermissions" runat="server" >  
                  <Triggers> <asp:AsyncPostBackTrigger ControlID="cbPermissions" EventName="SelectedIndexChanged" /> </Triggers>
               
                  <ContentTemplate>
                 

                  <telerik:RadComboBox ID="cbPermissions" runat="server" AutoPostBack="true"
                     onselectedindexchanged="cbPermissions_SelectedIndexChanged" Visible='<%# Eval("FirstName") == null ? false : true %>' Width="100"  >
                     <Items>
                      <telerik:RadComboBoxItem Text="Read Only" Value="true" />
                          <telerik:RadComboBoxItem Text="Full Access" Value="false" />
                     </Items>
                 
                   </telerik:RadComboBox>

                  </ContentTemplate>
                   </asp:UpdatePanel>
                  </td>
                  <td style="text-align:center">
                  <asp:LinkButton ID="btnRemoveUser" runat="server" Text="Remove" CommandName="RemoveUser" Visible='<%# Eval("FirstName") == null ? false : true %>' />
                  <%--<asp:CheckBox ID="chkSelect" runat="server" Visible='<%# Eval("UserName") == null ? false : true %>' />--%>
                  </td>
                 </tr>
                </ItemTemplate> 
    </asp:ListView>


The ComboBox is not rendering properly (see attached image) 
Tamir
Top achievements
Rank 1
 answered on 11 Jun 2012
1 answer
112 views
Hello,
how can I set the font of the text in the red frames?
Many thanks
AB
Rumen
Telerik team
 answered on 11 Jun 2012
1 answer
74 views
Hello,
how can I set the font for the text in the red frames and the color of the external border,
now in green?
Many thanks
AB
Rumen
Telerik team
 answered on 11 Jun 2012
1 answer
97 views
Hello,
how can I set the font for the text in the red frames and the border color in the green frames?
Many thanks
AB
Rumen
Telerik team
 answered on 11 Jun 2012
2 answers
65 views
Hello,

I've got an image offset in the RadMenu- it seems by just by a pixel or two.  The "Feedback" button is just a pixel higher than the help button.  The "Admin" button is just higher than the rest of the buttons.  (Admin and Feedback are the first buttons on two different RadMenu groups).

I've triple checked the source images, and it's not in there.  I've also swapped out images and it always appears on the first RadMenu item. 

It started when I added a custom skin based off of Metro.
Danny
Top achievements
Rank 2
 answered on 11 Jun 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?