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

Hi there,

I use a UserControl in my RadGrid control for Edit and Adding new items. in my usercontrol I use RadAjaxManager to ajaxify one button control in the usercontrol.ascx page.

Also I have a RadAjaxManager in my aspx page (where my grid ontrol exists) to ajaxify the Edit, Update, AddNew and ... for my grid control. now I can not have the effect of the ajax manager in my usercontrol when I click that button in usercontrol.

any idea?

Pavlina
Telerik team
 answered on 22 May 2009
1 answer
208 views
i have created a radgrid with an update button image type and created custom update commands....whenever i hit edit the grid will instantaneously change into the in line edit mode and the correct index will be changed but the data it self is from a completly deferant records it is as if the select command was edited though it isnt.... i cannot use the automatic update commands because my table is a 4 tables unioned together so i used a template column and the item template is a pen image and the updated or canel is a x and correct mark...it is something i found at your site and it is not working...
Pavlina
Telerik team
 answered on 22 May 2009
1 answer
165 views
Hi Folks.
I would like to know the ways of Customizing the Rad Scheduler Skin in accordance with the Sharepoint Cardinal theme calendar.
Awaiting for your reply.
Thanks
Paul
Telerik team
 answered on 22 May 2009
1 answer
91 views
I have a custom control that insert a input of type hidden:
  Telerik.Web.UI.Editor.CommandList["InsertSubmissionForm"] = function(commandName, editor, args)
    {
       var myCallbackFunction = function(sender, args)
       {
          
                var myString +="<tr>" +
                        "<td align=\"center\" colspan=\"2\"><input class=\"AHbtnfield\" id=\"btnSubmitInitialForm\" onclick=\"return ValidateForm();\" type=\"submit\" value=\"Submit\" name=\"btnSubmitInitialForm\" /> <input id=\"hiddenSubmitInitialForm\" type=\"hidden\" value=\"hiddenSubmitInitialForm\" name=\"hiddenSubmitInitialForm\" /> </td>" +
                        "</tr>" +
                        "<tr>" +
                        "<td colspan=\"3\" charoff=\"2\">* = required</td>" +
                        "</tr>";
            
            
            
        
            editor.pasteHtml("<div id=\"submissionDiv\">" + myString + "</div>");
 
       }

It inserts fine but then the hidden field shows up in ie. If i click preview and then design it disapears then if i click html then design it comes back.

Anyway I can prevent this?

Thanks
Rumen
Telerik team
 answered on 22 May 2009
1 answer
113 views
Hi,

I have a RadTreeView Control inside a RadCombo template which is based on the Telerik samples.
The only change I have made is to bind the RadTreeView to a LinqDataSource. All works fine with one exception:

How do I prevent the RadCombo from closing if the selected node has no parents (top-level node) ?
In other words, I want to force a user to select a child node.

Thank you in advance

Gerry 






Princy
Top achievements
Rank 2
 answered on 22 May 2009
5 answers
149 views
I'm looking to give my combo box 2 very unique displays

HTML DROP DOWN
I want to make my combo box look identical to a <select /> drop down box

HTML TEXT BOX
I want to add "auto-suggest" items inside the search window of our web site.  None of the skins match the look and feel of my website.

I need to be able to display the combo box without any drop down arrow, or decorator to the right of the text box. I also need the textbox to look just like the standard html input text box with the default look.

thanks
Paul
Telerik team
 answered on 22 May 2009
1 answer
149 views
Hi
For Rad toolbar the following lines of code is used in aspx page to attach the event onClientClick.  Please can u tell me how we can move this line of code into server side i.e, aspx.cs file?

<script language="javascript" type="text/javascript"> 
<%= tbDebtRequirement.ClientID %>.attachEvent(""OnClientClick"",""ToolBarEvents"");
</Script>

I tried the following in Code behind(.cs) file. But it does not work..

 string sJscript = "";
 sJscript = @"'<%= tbDebtRequirement.ClientID %>'.attachEvent(""OnClientClick"",""ToolBarEvents"");";
this.ClientScript.RegisterStartupScript(typeof(Page), "jj", sJscript, false);

This wont give any javascript error but the event will not get fired.

Thanks
Siva Kumar KB
Bent
Top achievements
Rank 2
 answered on 22 May 2009
2 answers
94 views
Hi, I am using RadControls for ASP.NET AJAX version 2009.1.402.35.  I got an error when running in Firefox.  The error occurs after a RadCombox post back.    When the handler is done in server side, the page loading handler in client side can go through. But the page loaded handler never been able to called.  When runing in IE, both page handler went through.  Please help!!!
Thanks,
P.S.  Also we investigated the implementation of _getAbbrmonthIndex.  It looks right:

_getAbbrMonthIndex:function(a)
    {if(!this._upperAbbrMonths)
    this._upperAbbrMonths=this._toUpperArray(this.dateTimeFormat.AbbreviatedMonthNames);
    return Array.indexOf(this._upperAbbrMonths,this._toUpper(a))
    },





----------------------------------------------------------------  Error -----------------------------------------------------------------
_getAbbrMonthIndex()("")Telerik....ae524c98b (line 1065)
Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_ScriptManager1_HiddenField&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a3bbfe379-348b-450d-86a7-bb22e53c1978%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2009.1.402.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3ae2aefbad-6eca-4fec-a07c-998a5a2d33c0%3a16e4e7cd%3af7645509%3a24ee1bba%3ae330518b%3a1e771326%3ac8618e41%3bESRI.ArcGIS.ADF.Web.UI.WebControls%2c+Version%3d9.3.1.3000%2c+Culture%3dneutral%2c+PublicKeyToken%3d8fc3cc631e44ad86%3aen-US%3a5b74ae6b-e789-47e1-85a7-8889e4c7ad29%3a6f849c84%3aa8a8211a%3ac5527224%3bTelerik.Web.UI%2c+Version%3d2009.1.402.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3ae2aefbad-6eca-4fec-a07c-998a5a2d33c0%3a11a04f7e%3bAjaxControlToolkit%2c+Version%3d1.0.10920.32880%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen-US%3a816bbca1-959d-46fd-928f-6347d6f2c9c3%3adc2d6e36%3ab14bb7d5%3a5acd2e8e%3bESRI.ArcGIS.ADF.Web.UI.WebControls%2c+Version%3d9.3.1.3000%2c+Culture%3dneutral%2c+PublicKeyToken%3d8fc3cc631e44ad86%3aen-US%3a5b74ae6b-e789-47e1-85a7-8889e4c7ad29%3adaa3e9c%3adf3baf57%3a7b1c26c6%3a264ee7f6%3a931bab0a%3ae9d1c022%3a211cda53%3bTelerik.Web.UI%2c+Version%3d2009.1.402.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3ae2aefbad-6eca-4fec-a07c-998a5a2d33c0%3aaa288e2d%3aa7e79140%3ae524c98b()()Telerik....ae524c98b (line 11047)
[Break on this error] this._upperAbbrMonths=this._toUpperArray...s.dateTimeFormat.AbbreviatedMonthNames);
Sebastian
Telerik team
 answered on 22 May 2009
1 answer
3.2K+ views

Hi

I need change border color of Date Picker date input. It have CssClass "radEnabledCss_Default" and If I change color of border it doesnt do anything. Now it have color with code #626262 and this code of color I cant find in all project. I think that this color is from some default setting and dont know how I can change it.

 

Can you help me?

 

David Slavík

Princy
Top achievements
Rank 2
 answered on 22 May 2009
1 answer
109 views
Hi,

I have a RadGrid which in most of the cases display the same image per row.

When i use HTTP Analyzer, i see that the image is being loaded multiple times, meaning that if I have 100 rows that should display it, it will be loaded (or searched in cache) for 100 times.

What's the best way to optimize it and get rid of those unnecessary requests?

Thanks.
Shinu
Top achievements
Rank 2
 answered on 22 May 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?