Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
62 views
Hi Telerik Team,

We are having css issue with MS Internet Explorer 6.0 SP1 +. In this Browser, there is a background image visible on tab.
Similarly, We have defined our own skin for RadPanelBar that is working fine with other browsers but it's showing border color of different color.

Please suggest how to resolve the aforementioned issue.

Thanks,
Rajesh Shah
Taran
Top achievements
Rank 1
 asked on 22 Jul 2009
3 answers
110 views
Hi,

I have a masterpage application.
On the masterpage I have 2 asp:Label controls.
In codebehind (page load) I set them to a session variable.
So if in a contentpage is something to tell on the master - I just set that session variable.

Now my problem - when I work with ajax manager I thought that this would be the right setting:
<telerik:RadAjaxManager ID="ramManager" runat="server" DefaultLoadingPanelID="alpPan1" UpdatePanelsRenderMode="Inline" RequestQueueSize="6">  
    <AjaxSettings> 
        <telerik:AjaxSetting AjaxControlID="ramManager">  
            <UpdatedControls> 
            <telerik:AjaxUpdatedControl ControlID="lblOne" /> 
            <telerik:AjaxUpdatedControl ControlID="lblTwo" /> 
            </UpdatedControls> 
        </telerik:AjaxSetting> 
    </AjaxSettings> 
</telerik:RadAjaxManager> 
 
But this results in a "the controls collection can't be changed..." error.
I have nothing on my content page so the code above produces this problem.

Any idea how I can achive this?
This == two labels displaying information (from session state) on the masterpage

Regards

Manfred
Iana Tsolova
Telerik team
 answered on 22 Jul 2009
13 answers
290 views
Hi,

With my problem of CommandButton in node loaded serverside with a callback, I had to code a HierarchicalDataSource.

But the problem is that page load time is very long since the treeview loads all nodes. I have about 10000 nodes, it take 5s to load (localhost) but long long time to execute javascript onload codes. Maybe caused by RadFormDecorator...

Anyway, is there a way to improve RadTreeView working with HierarchicalDataSource to have nodes populated on-demand, with serverside callbacks, and with rendered template controls persistance for event handling ?
It can let users add their own UserControls to a node, thus allowing non-common usages of a treeview...

Thanks.
Atanas Korchev
Telerik team
 answered on 22 Jul 2009
2 answers
94 views
How do you center the records in the RadGrid control?  It appears that all of the record information is aligned to the left but I want it to be center aligned.  How do I do that?  Thanks!
Brett
Top achievements
Rank 1
 answered on 22 Jul 2009
1 answer
60 views
iHi
I Have a  hierarchical grid.

I have data in the hierarchical grid.
I have added some itemtemplates.

Now problem is that i am not able to fetch data from the detail table and masterdetail table from a button which is the outside of the grid.

I want to access the   hierarichal grid  data from a buton click which is outside the grid.

Please help me ASAP

Thanks
Princy
Top achievements
Rank 2
 answered on 22 Jul 2009
1 answer
85 views
I have a rad alert function (from this site) that I got to work great, but now I want to make it work AFTER i do logic on code behind page.

It works when I use onclick="my javascript" in the button tag.   But I want it to fire on the code behind AND run the script after I do logic.

How can I do this?

 

protected void btnResetPwd_Click(object sender, EventArgs e)

 

{

 

 

 * here is my button event click 
 * I want logic here, then if good......run that radalert(); script
}


HOW?




Georgi Tunev
Telerik team
 answered on 22 Jul 2009
1 answer
156 views
Hi,

I have a asp.net page in which I am want to pass parameters to a rad window. I want to access that parameter in the rad window page_load method on the server side. I am not able to able to access this value as it is at the very initial stages to load. But, I can access the parameter at client level by writing onload method on body tag like this:

<script language="javascript" type="text/javascript">
function GetRadWindow()
{
  var oWindow = null;
  if (window.radWindow)
     oWindow = window.radWindow;
  else if (window.frameElement.radWindow)
     oWindow = window.frameElement.radWindow;
  return oWindow;
}

function receiveArg()
{
   var currentWindow = GetRadWindow();
   alert(currentWindow.argument);
 
}
</script>
   
</head>
<body onload="receiveArg();">
  <form id="form" runat="server">


But, I dont want to do this at the client level. I require this value in page load at server side as I need to do some business logic over it.

Is there any way to get this????


Thanks,
Mahesh
Georgi Tunev
Telerik team
 answered on 22 Jul 2009
1 answer
110 views
Hi all,
I need to set up a radTooBar in a Composite Control which I'm writing, and would like to populate it from an XML file using LoadContentFile.

However, I can't find any documentation on the content/layout of a valid XML file which defines the toolbar structure. Can someone point me in the right direction, please?

Thanks,

James
Atanas Korchev
Telerik team
 answered on 22 Jul 2009
8 answers
445 views
I have a RadTreeView control inside an AJAX update panel. When various ajax methods on the server run, I repopulate the control from the data store. Is there a way to make the control remember it's expanded/collapsed state as well as what node was selected automatically?

It's relatively easy to do and I was wondering if I would have to do this manually or if I just missed a property on the control so that it maintains its state on its own.

The user experience of having the expanded/collapsed nodes default back to all collapsed or all expanded (if the developer issues an ExpandAllNodes() call on the server before return), and the selected node being no longer selected is very poor.
AL
Top achievements
Rank 1
 answered on 22 Jul 2009
3 answers
346 views
Hi,
I'm trying to add a generated JQuery-script with the RadScriptManager but I can't figure out how...
  // Type cstype = GetType(); 
        // const string csname = "GroupLabelScript"; 
        // ClientScriptManager cs = Page.ClientScript; 
 
        StringBuilder script = new StringBuilder(); 
 
        script.AppendFormat("<script type=\"text/javascript\">{0}", Environment.NewLine); 
 
        script.AppendFormat("{0}",Environment.NewLine); 
 
        script.AppendFormat("$telerik.$(document).ready(function() {0} {1}", @"{", Environment.NewLine); 
        for (int i = 0; i < (7 * 3); i++) 
        { 
            script.AppendFormat("$telerik.$(\".rsHorizontalHeaderTable tr:last th:eq({0})\").addClass(\"{1}\");{2}", i, (i % 2 == 0) ? "Red" : "Green", Environment.NewLine); 
        } 
        script.AppendFormat("{0});{1}", @"}", Environment.NewLine); 
        script.Append(Environment.NewLine); 
 
        script.AppendFormat("</script>{0}", Environment.NewLine); 
 
        // How do I add my script to the RadScriptManager1 ?! 
        RadScriptManager1.Scripts.Add(script.ToString()); 
         
        // cs.RegisterClientScriptBlock(cstype, csname, script.ToString(), false); 

This " RadScriptManager1.Scripts.Add(script.ToString());" does of cource not work... But how do I do what I'm trying to do?

Atanas Korchev
Telerik team
 answered on 22 Jul 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?