Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
186 views
In page load I want to reduce grid width by 250px.
I tried:

 

 

cnt = Convert.ToInt32(RadGrid1.Width) - 250

 

 

 

RadGrid1.Width = System.Web.UI.WebControls.Unit.Pixel(cnt)

but it did not work.

How can I do it?

 

John Davis
Top achievements
Rank 2
 answered on 23 Jun 2010
3 answers
99 views
Below is the scenario that I am not able to solve.
1. Master/Content Page setup.
2. Content Page has the RadAjaxManager object and a web user control (lets call it ucMaster)
3. ucMaster contains 3 other user controls, uc1, uc2 and uc3.  uc2 and uc3 are displayed based on a selection in ucMaster.  Both are loaded but the .Visible property is used to hide one or the other control.
4. uc1 has the RadAjaxManagerProxy1 and uses a radWindow dialog to get values and update the panel via ajaxrequest.  (Works fine)
5. uc3 has the RadAjaxManagerProxy2, and uses a radWindow dialog to get values and update the panel via ajaxrequest.  The "UpdatedControls" section uses the radAjaxManagerProxy2 as the "AjaxControlID" so that the panel is updated when the radWindow dialog is closed. (Does Not Work).

If I include the AJAX Setting in the ascx page under the RadAjaxManagerProxy AjaxSettings section, I get an error when the RadAjaxManagerProxy1 invokes an update for user control uc1.  The error is: "Sys.InvalidOperationException: Could not find UpdatePanel with ID 'ctl00xxxxx_grvContactsPanel'.  If it is being updated dynamically then it must be inside another UpdatePanel."

If uc3 is visible, the error does not come up.

I removed the "UpdatedControls" section from the radAjaxManagerProxy2.AjaxSetting section and add the control on the server-side in the page "PreRender" event.  The code runs, but the panel does not get updated.  If I move the server-side code to the "ajaxRequest" event handler I get the same error as before.

Any help with this will be greatly appreciated!

Thank you.
Iana Tsolova
Telerik team
 answered on 23 Jun 2010
6 answers
132 views
Hello,

See the attached image.  As soon as I click into the subject, it displays the error message, and even when I type, it still shows over top.  How do I fix this?  What is causing it, and is there a setting to turn it off?

Thanks.
T. Tsonev
Telerik team
 answered on 23 Jun 2010
2 answers
87 views
Hi,
       Telerik has done a great job to minimise the developement time.
       I am using the telerik controls extensively.

      I am using the RadListBox control and it's 'AllowReorder' property to move the items of RadListBox up and down.
      Now, i want that items of two listboxes can move Up using single UP button and Signle down button for two Radlistboxes.
      Can i do that.

     In addition to that i need to edit the item (option) of one of my RadListBoxes on doubleclick on that item, can i do that ?

Please reply
Yana
Telerik team
 answered on 23 Jun 2010
1 answer
137 views
Hello,

I have a page with many combo boxes hooked up to a web service.  Occasionally, 3 or so of the combos fail with a 403 forbidden response from the server.

Any idea why this happens?  I cannot figure it out.

Thanks.
Simon
Telerik team
 answered on 23 Jun 2010
1 answer
75 views

For some reason my cursor disappears when I switch from html to Design view. This can be seen on this video (http://www.screencast.com/users/jpchatt/folders/Jing/media/75ce0779-718f-462a-aec8-4d17ec538224). This does not seem to happen in IE however, It only happens in FF.

The second firefox Inconsistency  is that the increase and decrease indent button does not function consistently. The decrease indent button intermittently breaks formatting for adjacent rows as well as the selected row. this can be seen in the following video (http://www.screencast.com/users/jpchatt/folders/Jing/media/9157a318-55a4-43df-9939-c3c668027d02). not sure why this doesnt happen in IE or why it only happens intermittently but it certainly seemed to be a bug.

Has anyone run into similar issues and know how to fix this?

Rumen
Telerik team
 answered on 23 Jun 2010
1 answer
82 views
Hi,
I am using the RadTabStrip control in my project. Here I am creating the tabs and adding the controls in to the tabs dynamically. But sometime when I switch between the tabs following java script error occurs.

Error Message: this.get_element().style is null or not an object.

After occurring this error switching between the tabs stops working. I am creating the rad tab strip in the following way.

<asp:UpdatePanel ID="UpdatePanel1" UpdateMode="Conditional" runat="server">
    <ContentTemplate>
    <telerik:RadAjaxPanel runat="server" ID="pnlRAD">       
            <asp:Panel CssClass="productmainGrid" ID="tsDiv" runat="server">       
                    <telerik:RadTabStrip  ID="RadTabStrip1" OnTabClick="RadTabStrip1_TabClick"
                                    runat="server" MultiPageID="RadMultiPage1" OnClientLoad="OnClientLoad"  EnableEmbeddedSkins="false" Skin="RadSkin" >
                    </telerik:RadTabStrip>

                    <telerik:RadMultiPage  ID="RadMultiPage1" runat="server"  OnPageViewCreated="RadMultiPage1_PageViewCreated">
                    </telerik:RadMultiPage>
        </asp:Panel>
    </telerik:RadAjaxPanel>        
    </ContentTemplate>
    </asp:UpdatePanel>

Please suggest me the possible solution for this error.

Thanks,
Alok... 
Yana
Telerik team
 answered on 23 Jun 2010
5 answers
133 views

Hi.  I've a small problem with adding and removing nodes on a treeview on the client and then persisting the changes on a postback, using the ClientChanges property.  For the most part, it works as expected, I can Insert, Edit and Remove nodes and process the changes on the server.  However, the issue arises if I Insert a node, then Remove it and then try to save the changes.

In the ClientChanges collection, there are ClientOperation items representing both the Insert and the Remove, which, despite being inefficient, should still work.  As part of the Insert operation, I am capturing the index property of the node but this throws a NullReferenceException due to, I'm guessing the *pending* Remove operation.

I thought I was maybe using the trackChanges / commitChanges incorrectly and that if instead tracking and committing each operation...

// psuedo code

trackChanges();

insertNode();

commitChanges();

trackChanges();

removeNode();

commitChanges();

...I enabled tracking, performed all my edits and then commited changes, like this

// psuedo code

trackChanges();

insertNode();

removeNode();

commitChanges();

...then it might be smart enough to figure out that net effect is no change.  I implemented this but the same problem exists.

Can anyone shed any light on how to

  • Retrieve the index on a node that is subject to a pending Remove operation or
  • Cancel the add operation for a node thatis subject to a pending Remove operation

Thanks,

Keith.

Nikolay Tsenkov
Telerik team
 answered on 23 Jun 2010
2 answers
263 views
I must miss something simple. I set the RadDatePicker as following:

          <telerik:RadDatePicker ID="txtBirthday" runat="server">
                <DateInput Label="Birthday:" EmptyMessage="enter your bithday ..." Width="300px" LabelCssClass="Label">
                </DateInput>
            </telerik:RadDatePicker>

Why I do not see the label "Birthday:" ?
Li Zhou
Top achievements
Rank 1
 answered on 23 Jun 2010
3 answers
118 views
Hi ,

I am adding tabs dynamically and its working fine and scrolling is also implemented and working fine .
But  when i add the tab i want to scroll through it and it will be shown to me .There is a client side event that i get from the
Support from telerik that is  scrollIntoView() but as i am generating my tabs from code behind i want the same feature will be implemented from the Server-side.


Is there any Method that can give me the same functionality from server side.I need this solution urgently .
if not then  in future is telerik is going to provide the functionality from server side also.

Please guide me and answer .

Thanks
Gaurav





Simon
Telerik team
 answered on 23 Jun 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?