Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
106 views
Hi,
 I've customised some new toolbar layouts and unlike your lovely neat ones, a couple of mine dont meet the full width of the toolbar property set in the configfile.xml. This leaves some white space at the end of the toolbar that doesn't look that great. Is there any way to avoid this? I've tried setting a width to the toolbar but it seems the variable isn't recognised.

 Also - with regard to documentation, is there anything other than the demo pages which gives a FULL list of the customisable options for the configfile.xml and toolsfile.xml? I'm having to hunt around from one page to another to find clues and new settings - it seems a bit awkward to learn quicker and not have to ask questions in the forums all the time.

Thanks,
Jason.
Jason Brownhill
Top achievements
Rank 1
 answered on 29 Jun 2010
4 answers
120 views
If the value is changed in the OnServiceRequest, is there any way to access the new value in OnClientResponseEnding?

Pero
Telerik team
 answered on 29 Jun 2010
3 answers
99 views
example i got 3 pages,parent.aspx,  child1.aspx, and child2.aspx.  parent opens child1 and child2 using radwindow. therefore, child1 and child2 are siblings. What i want to do is to access javascript functions of child1 from child2 or vice versa. please help thanks





dick
Top achievements
Rank 1
 answered on 29 Jun 2010
2 answers
123 views
I have a radgrid that I edit InPlace.
 
I would like to show Update and Cancel buttons only when the row is in editmode, how do I do that?
Shinu
Top achievements
Rank 2
 answered on 29 Jun 2010
2 answers
111 views
I have a radgrid that after insert it inserts another row if i updates the page.

I have a page with a usercontrol, that usercontrol has a radgrid.

When i inserts a new record with:

rg_Main.MasterTableView.IsItemInserted =

true;

 

rg_Main.Rebind();


It creates another row as expected. But if I refresh the page it inserts another row. For every refresh another row is created.

What am I doing wrong?

Regards

Carl-Johan Larsson
Carl-Johan
Top achievements
Rank 1
 answered on 29 Jun 2010
2 answers
183 views
Hi, I have a problem with a LinkButton which is initially not visible (-> set during Page_Load). The LinkButton is contained among with a few other controls in an ASP:Panel (see code):

<asp:Panel ID="pnlLogin" runat="server">                        
<asp:LoginName ID="loginName" runat="server" FormatString="Welcome {0}" />
<asp:LinkButton ID="btnUpdateProfile" runat="server" CssClass="login" Text="My Profile"></asp:LinkButton>                                       
<asp:LinkButton ID="btnLoginMain" runat="server" CssClass="login">Log In</asp:LinkButton>
<asp:LinkButton ID="btnCreateLogin" runat="server" CssClass="login">Register</asp:LinkButton>
</asp:Panel>    

After evaluating an ajax_request event on the server the visibility of the LinkButton is set to true if a certain condition is met.
At first sight everything seems alright, the previous hidden control is now displayed. However if one takes a look at the rendered
segment the link-quality is gone:

<div id="pnlLoginPanel">
<div id="pnlLogin">
<a id="btnLoginMain" class="login" href="javascript:__doPostBack('btnLoginMain','')">Log In</a>                    
<a id="btnCreateLogin" class="login" href="javascript:__doPostBack('btnCreateLogin','')">Register</a>
</div>
</div>         

This is quite unfortunate since this LinkButton should now function as OpenerElementID of a RadWindow - which it can't do any
more. Can anybody point out to me, what is going wrong ?

Thanks a lot,
Wolfgang
Wolfgang Sigel
Top achievements
Rank 1
 answered on 29 Jun 2010
3 answers
127 views
in 4.0 .net framework using Visual Studio2010 radajax panel gives error when trying to change a dropdown selection which is set to postback on selction change. it errors out at the line in bold:



if(typeof(this.__EVENTTARGET)!="undefined"&&typeof(this.__EVENTARGUMENT)!="undefined"){var b=new Telerik.Web.UI.RadAjaxRequestEventArgs(this.__EVENTTARGET,this.__EVENTARGUMENT,this._enableAJAX);
this.fireEvent(this,"OnResponseEnd",[b]);
}if(this._requestQueue.length>0){this._executePendingRequest();
}},_queueRequest:function(a,c){c.set_cancel(true);
if(this._requestQueue.length>=this._requestQueueSize){return;
}var b=c.get_postBackElement();
var e=b.id;
if(b.name){e=b.name;
}if(a._form.__EVENTTARGET&&a._form.__EVENTTARGET.value){e=a._form.__EVENTTARGET.value;
}var d=a._form.__EVENTARGUMENT.value;
Array.enqueue(this._requestQueue,[e,d]);
},_executePendingRequest:function(){var a=Array.dequeue(this._requestQueue);
var c=a[0];
var b=a[1];
var d=Sys.WebForms.PageRequestManager.getInstance();
d._doPostBack(c,b);
},_attachRequestHandlers:function(a,c,e){this._endRequestHandler=Function.createDelegate(this,this._endRequest);
a.add_endRequest(this._endRequestHandler);
this._onFormSubmitCompletedHandler=Function.createDelegate(this,this._onFormSubmitCompleted);
c.get_request().add_completed(this._onFormSubmitCompletedHandler);
c.get_request()._get_eventHandlerList()._list.completed.reverse();
if(e){var b=c.get_request().get_body();
var d=(b.lastIndexOf("&")!=b.length-1)?"&":"";
b+=d+"RadAJAXControlID="+a._uniqueIDToClientID(this._uniqueID);
c.get_request().set_body(b);
}},_getParentAjaxPanel:function(a){var b=null;
while(a!=null){if(typeof(a.id)!="undefined"&&$find(a.id)&&$find(a.id).Type=="Telerik.Web.UI.RadAjaxPanel"){b=$find(a.id);
break;
}a=a.parentNode;
}return b;
},getResponseItems:function(n,h,c){var j=Sys.WebForms.PageRequestManager.getInstance();
var e=n;
var i,k,g,b,m;
var a=0;
var f=null;
var d="|";
var l=[];
Veli
Telerik team
 answered on 29 Jun 2010
3 answers
476 views
Hi,

I have a radgrid with custom column having radio button, which allows only one selection at given time.
The functionality works perfect, but the problem I am facing is about the selected row color.

For eg: If I select first radio button, it highlights that row, now when I select another row, it de-selects the first selection but keeps it highlighted and also highlights the currently selected row.

Please let me know, exactly what I can do to avoid this situation.

Thank you,
Jay Mehta.
Princy
Top achievements
Rank 2
 answered on 29 Jun 2010
1 answer
94 views
Dear all,

I am developing a DNN module for my client, they have a licensed RadControl for ASP.Net Ajax and want me to use this control set in module development. I like the UI a lot but I have a problem with using this control in DNN. Don't be upset with me as i am just a newbie to RadControl. If I use RadControl for a standalone website, it works perfectly, but if I move the user control to make it a DNN module, the module cannot run, it just says object reference not set to....and stop. I did a google and found that the DNN included radcontrol cannot be used directly for module development. I try to replace the original Telerik.WebUI.dll file of DNN with new file of the RadControl installation, the DNN cannot run and it says "Error   1   Could not load file or assembly 'Telerik.Web.UI, Version=2010.1.309.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)"
What should I do to make my module work? I really want to use RadControl as it is very nice and don't want to change back to ASP.net controls.
Thank you very much,
CT
      

C T
Top achievements
Rank 1
 answered on 29 Jun 2010
2 answers
305 views
I have Telerik 2009.02.0817.20

See my .jpg file attachment.
Shows a RadChart using a Web20 skin.

There is a blue border around the outer most part of the graph.
Where the 4 red arrows are pointed.

Can I turn this border off?
Or can I change the color of this border to white?
Chris
Top achievements
Rank 1
 answered on 29 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?