Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
128 views


Hi,

In my application I am invoking a RadAlert from server-side through RegisterStartupScript. The Skin applied to RadWindowManager is Web20, but when I invoke my radalert, the Fontcolor of the button doenot get changed; it is not white in color(expected color) but in Black color.

What could be the reason?

Is it because of calling the window from server-side??

Expecting your reply....


 
Georgi Tunev
Telerik team
 answered on 10 May 2010
1 answer
93 views
Hi,

I am using the Q1 2010 release of the form decorator and the styles, especially the button and textbox styles, get screwed up if I use a masterpage.  I have tried everything I can think of to fix it.  I have removed the Controls to decorate, I have removed all style sheets, I have tried putting the formdecorator on the masterpage, on the page itself, on the control it pulls in, everything i can think of.  I can't break it on a standard page that doesn't use a master page; but i can't get it to work when I use a masterpage.  Any ideas?

Thanks,
Dave
Georgi Tunev
Telerik team
 answered on 10 May 2010
1 answer
95 views
I have a problem where the string being returned by
server side : MarkingEditor.content
client side : var edcon = $find("<%= MarkingEditor.ClientID %>").get_html(true);

if the content is say
abc <font size=6>xyz</font>

server side has quotes so the returned string is   "abc <font size='6'>xyz</font>"
client side no quotes the returned string is  "abc <font size=6>xyz</font>"

When pasting from word quotes and hyphens are also different - server code : code 150, client : code 8211  (&#8211 being a hypen)

I have diabled all content filters

This is the case even thought the editors content is set from the database witht he server side values, when posting back different ?

HOW CAN I GET BOTH SIDES  TO RETURN THE SAME VALUE (which is important for reason i will not go into here)
Using Q1 2010 RadControl AJAX
Rumen
Telerik team
 answered on 10 May 2010
1 answer
151 views
Hi
I have a usercontrol in my form.The user control consist of a windomanager and a popup page is used with the window manager.
I have to refresh the content page when the user closes the pop up window  generated from the user control.I have done this using the following code in content page

 protected void Page_Load(object sender, EventArgs e)
    {
//The ajax manager is placed in the  master page

 RadAjaxManager.GetCurrent(this).AjaxSettings.AddAjaxSetting(RadAjaxManager.GetCurrent(this), ucUsercontrolTorefresh);
      
}
This was perfectly working with the version Q32009 and now i have updated to Q12010 sp1 and I am getting a javacript error when using the above code .But the user control is refreshing and its design is distorted .Is there any difference in using the dynamic ajax settings for the user controls in Q12010 version
Thanks
Sreeraj N.R



Maria Ilieva
Telerik team
 answered on 10 May 2010
0 answers
155 views
Hi,

I am binding radtreeview dynamically from an xml file below is the code for that, I want to bind images dynamically to radtree using css file. I did enambledembededskins = false and give the skin = "x.css"

here is my problem.

1. If i am giving in html file when the radtreeview is in static binding in .aspx code it is working fine.
but when  i am loading the treeview from the xm lfile it is giving problem when I am loading the images.

 XmlDocument xDoc = new XmlDocument();
            string path = Server.MapPath("//XMLS/NewPolicyLinks.xml");
            xDoc.Load(path);
            XmlNodeList lno = xDoc.GetElementsByTagName("lno");
            rdTrNewBusiness.Nodes.Clear();
            for (int i = 0; i <= lno.Count-1; i++)
            {
                XmlNodeList entityEle = xDoc.GetElementsByTagName("Links");
                if (entityEle[i].HasChildNodes)
                {
                    XmlNode xmlNode = entityEle[i].FirstChild;
                    xmlNode = xmlNode.NextSibling;
                    rdTrNewBusiness.Nodes.Add(new RadTreeNode(xmlNode.InnerText));
                    RadTreeNode tNode1 = new RadTreeNode();

                    tNode1 = rdTrNewBusiness.Nodes[i];
                    if (rdTrNewBusiness.Nodes[i].Text == "ENTITIES")
                    {
                        tNode1.ImageUrl = "";


                    }
                }
             }


here i want to include css file dynamically to radtreeview i am using this code


i am writing this code in page load

HtmlLink cssHtmlLink = new HtmlLink();
                cssHtmlLink.Href = "~/css/Expand.css";
                cssHtmlLink.Attributes.Add("rel", "Stylesheet");
                cssHtmlLink.Attributes.Add("type", "text/css");
                cssHtmlLink.Attributes.Add("media", "all");
                this.Page.Header.Controls.Add(cssHtmlLink);
                
          


                rdTrNewBusiness.Nodes.Clear();
                
                rdTrNewBusiness.Skin = "Expand";
                rdTrNewBusiness.CssClass = "Expand";
                
                rdTrNewBusiness.EnableEmbeddedSkins = false;
                createtreenodes();


when I creating a node the image in the css file is not loading

could any one help me in binding the radtreeview using an xml file and i want to display images for +/- when expand and collapse.

subrahmanyam kameswara
Top achievements
Rank 1
 asked on 10 May 2010
9 answers
281 views
Hello,
I found a similar thread but without instructive answer. We use latest version Q1 2009.

The right border of the tooltip (via the tooltipmanager) is hidden behind content. It seems that the border is displaced by 1 or 2 pixels. We show the tooltip in a RadGrid for which we implemented a custom skin. The problem can be reproduced with any skin for the tooltipmanager.

By looking at the rendered HTML code and style inheritence I was not able to find a fix. However I found this:
- The control renders the "rtWrapper"-table with a width of 450px
- The rtWrapperContent-td contains a div with width of 448px
- However, the rtWrapperLeft and Right classes have a computed width of 3px
- If I sum up left, content, right I get a total width of 454 pixels instead of 450px
- Somehow, the tooltip borders are rendered slightly "rounded" (hence the 3px and not 1px)

I had extactly the same problem with the FormDecorator. Here too, the right border got lost. This time not inside our custom RadGrid style. We dropped the form decorator for that reason.
Svetlina Anati
Telerik team
 answered on 10 May 2010
2 answers
133 views
I am attempting to remove all of the css that is beiung applied to the submit button of the RadUpload control. Regardless of what I do, webresource.asd overrides or sets any properties that are not specified in my css, therefore causing the button to not look like the other 'normal' buttons in my app. Basically I only want the following attributes set in the css for the button: padding-top,padding-bottom, margin-left. How can I achieve this?
Lenny_shp
Top achievements
Rank 2
 answered on 10 May 2010
1 answer
176 views
I noticed that in http://demos.telerik.com/aspnet-ajax/combobox/examples/populatingwithdata/autocompletesql/defaultcs.aspx you provide examples of Load on Demand Modes.  The question I have is around performance.  I see that for this application, you have included a web service as part of you project and that you are calling the service to fill the company (a service internal to the project).  There is also the Server-Side (Automatic) example that does exactly the same thing. 
I undrstand that the service can be used to call an actual external web service that can be used to fill company names.  I am not really sure if the internal service was created just as an example of how to call a service or whether there are any disctinct performance advantages/disadvantages to actually embed the service into you project as opposed to using the Server-Side (Automatic) technique.  I would appreciate if someone can clarifty this issue.

Thank You
Nathan Lacoff

Simon
Telerik team
 answered on 10 May 2010
5 answers
209 views
Hi all,

I am having the problem with the radCombobox where the ItemsRequested server side function is not firing after I type in more than a few letters.  I am trying to apply the fix by adding the fix from this post.
However, when I place the code in and run, I am getting the error "Microsoft JScript runtime error: 'Telerik' is undefined"

The declarations at the top of my page look like this:

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <link href="../StyleSheet.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript">
        Telerik.Web.UI.RadComboBox.prototype.get_endOfItems = function() { return false; }; 
    </script>

Any suggestions on where I should enter this?  I tried placing it as well in my master page after the declaration of the script manager, but I go tthe same result.

Thanks,
Joshua Wise
Simon
Telerik team
 answered on 10 May 2010
5 answers
530 views
I have a RadTimePicker as one of the template columns in RadGrid. When i call the OnSelectedDateChanged event of the RadTimePicker it is not fired. I have set AutoPostBack also to true. But its not fired.

Any suggestions? Am i missing something?


Iana Tsolova
Telerik team
 answered on 10 May 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?