Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
133 views
Hi,

I'm using RAD controls on my SharePoint publishing pages. Everything works smoothly in my test environment (which runs on server 2003). In test/production environment (server 2008 + newer AJAX libraries), javascripts from WebResource.axd are not loaded completely.

Specifically, the menu hovering does not work and there is a Javascript error on the page. I'm using the OOTB SharePoint menu control. The "fly-out effect" does not work now since relevant scripts don't get loaded. If I don't use script manager on the page OR if I use the standard .NET script manager, scripts are loaded correctly.

However, I can't use the .NET script manager in my solution. If I use that, Telerik tab strip does not work. The tabs are generated, but it is not possible to switch between the tabs by clicking the tab --- which kind of defeats the purpose. Note that in my test environment tabs works well with .NET script manager.

Do you have any ideas for this? Right now I'm forced to choose lesser of the two evils (menu not working), but it is very bad for the usability of my site and I also really don't like the javascript error message that is now shown on every page.

Btw, I tried the Telerik menu control as well. Hovering works fine with that, but it doesn't support the "SharePoint data source" well enough - and also I can't use it to create the horizontal menu I want.


Ilona


 
Todd Anglin
Top achievements
Rank 2
 answered on 06 May 2009
1 answer
114 views
Hoping someone can help me... I've got a tab strip and some usercontrols I load dynamically. I'm using both the RadControls for ASP.NET and the RadControls with Ajax. 1st, I can't use javascript in my usercontrols. I've tried registering the clientscript onload, using the radscriptblock, using the radcodeblock, with no luck. As soon as I turn off ajax on the manager, everything loads up correctly. I'm using the same approach as:

http://www.telerik.com/community/forums/aspnet-ajax/tabstrip/dynamic-user-controls-in-multipageview.aspx

Is there another kind of trick or best practice when it comes to registering javascript in a web usercontrol? Should I place the scripts in a centralized .js file?

Thanks,

Sam
Todd Anglin
Top achievements
Rank 2
 answered on 06 May 2009
1 answer
467 views
I have an issue that javascript is not fired when AjaxManager.ResponseScripts.Add("updateSummary();") is executed from the NodeExpand() event in a RadTreeView Control.

Protected

 

Sub RadTreeViewProducts_NodeExpand(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadTreeNodeEventArgs) Handles RadTreeViewProducts.NodeExpand

 

    ' Deleted adding nodes to treeview
    RadAjaxManager1.ResponseScripts.Add(

"updateSummary();")

 

 

End Sub

updateSummary() is a valid javascript function on the page.

I can successfully use the same ResponseScripts() call in an AjaxManager_AjaxRequest event, but not the NodeExpand event of the RadTreeView.

I am using RadControl for ASP.NET AJAX Q3 2008.

Any suggestions?

Thanks.

 

Todd Anglin
Top achievements
Rank 2
 answered on 06 May 2009
6 answers
201 views
Hi folks:
Can someone tell me how to programmatically format a grid cell based on value?

Example:  anything less than/equal 1 shows as percent and anything more than 1 shows as number.

Thanks in advance!
Shinu
Top achievements
Rank 2
 answered on 06 May 2009
2 answers
236 views
Hello,

Using Q1 2009

I have a grid thats using the "Page 1 of 5" and the "Go" button.  Everything works fine but I was wondering if there is a way to increase the left and right padding on the input box where the "1" in this example is located.

I've tracked down a width declaration in the final markup rendered to the page as an inline style: "style=width:7px".  My guess is the inline style is generated by the javascript.  Adding padding to the style in the grid style sheet (.RadGrid_Default .rgPagerTextBox) yields no change as would be expected because the inline style should take precedence.

Is there any way to edit the generated inline style to perhaps make it wider?

Thanks,
Bob
Todd Anglin
Top achievements
Rank 2
 answered on 06 May 2009
1 answer
150 views
Hello,

I would like on the postback loop the RadGrid and get the value of particular column like ("Column1") for each rows.
something like 

 

 

 

protected void but1Click(object sender, EventArgs e)

 

{
    foreach (GridItem item in RadGrid1.MasterTableView.Items)

        {

            if (item is GridDataItem)

        {

            GridDataItem eItem = item as GridDataItem;

            string svalue = eItem.GetDataKeyValue("Column1")

        }

    }

}

It seems like "GetDataKeyValue" is not right way to get the value.

 

 

What is the efficient way to get the value of each Column?

Thank you

Todd Anglin
Top achievements
Rank 2
 answered on 06 May 2009
5 answers
169 views
Hi,

I have a Masterpage with the following settings for Ajax
        <telerik:RadAjaxManager ID="ramManager" runat="server" DefaultLoadingPanelID="alpPan1" UpdatePanelsRenderMode="Inline" onajaxrequest="ramManager_AjaxRequest" RequestQueueSize="6">  
        <AjaxSettings> 
            <telerik:AjaxSetting AjaxControlID="ramManager">  
                <UpdatedControls> 
                      
                </UpdatedControls> 
            </telerik:AjaxSetting> 
        </AjaxSettings> 
    </telerik:RadAjaxManager> 
    <telerik:RadAjaxLoadingPanel ID="alpPan1" Width="200" Height="200" runat="server" Transparency="0" MinDisplayTime="2000">  
        <img alt="Loading..." src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading6.gif") %>' style="border: 0;" /> 
    </telerik:RadAjaxLoadingPanel> 
 
About the "missing" updated controls - my ajax function does only set a session variable.

On a page I have a radgrid and an ajax proxy like this.

    <telerik:RadAjaxManagerProxy ID="raProxy" runat="server">  
        <AjaxSettings> 
            <telerik:AjaxSetting AjaxControlID="rgCartLines">  
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="rgCartLines"/>  
                </UpdatedControls> 
            </telerik:AjaxSetting> 
        </AjaxSettings> 
    </telerik:RadAjaxManagerProxy> 
 
My problem - the grid shows the loading panel I choose - plus the "new auto panel" from the skin.

I already started a thread in grid about the "new panels" - I'm not really happy that I can't provide my own panel (with the next version it should be like this).
The reason - a "spinning wheel" say's almost nothing - especially when it does no longer spin because there is lengthy client rendering going on.

Anyhow - at the moment the "old panels" are still supported -- BUT I get the panel I choose PLUS the other one.
This does not look good.
How can I turn of this "Autopanel feature" so that only my panels (set via manager) get's displayed?

Regards

Manfred
TonyG
Top achievements
Rank 1
 answered on 06 May 2009
2 answers
261 views
Hi forums,

According to this 611709 thread id, it should be possible to remove the border for a RadRotator.

I had this working in the Q3 2008 version, but it does not work in Q1 SP1

Anyone?
IT-Als
Top achievements
Rank 1
 answered on 05 May 2009
4 answers
123 views
Hi, is it possible to display resources as images in both the appointment form and the day/week/month views?
Example, in the appointment form, there will be dropdownlist displaying images of different cars. And in the day/week/month views the car's images will be displayed. - not just text.

Thanks,
Henry Wu
Henry
Top achievements
Rank 1
 answered on 05 May 2009
3 answers
108 views
Hi. I have a RadGrid inside a RadDock. I've set EditMode in the RadGrid to PopUp. The popup is only viewable inside the dock. For example, when the popup appears for the first time, it appears at the bottom of the dock and looks like it is being chopped off. Of course when you drag the window to the center it is viewable. Is this a z-index css behaviour of the RadDock? Work around? Thanks.

Daniel
Daniel
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 05 May 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?