Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
73 views
I am grouping data using Group by expressions and created a link button on a group header dynamically.

Also Added  command argument value Handler to that button in Item created and Item Databound event.

When I click on that button the values on the grid group header are disppearing and loosing the command argument values.

I need to get the command argument of buuton to make some changes to the data in the record.

Please help me on this.
Pavlina
Telerik team
 answered on 12 Aug 2011
3 answers
97 views
Hello

I have a very simple menu using RadTabStrip and RadTabs. Inside a radtab i have two other radtabs (nested). My outer level uses the Office2007 skin, but my 2 child items stay white with absolutely no styling. Any idea how I can fix this?

Thanks a lot

Kati
Kati
Top achievements
Rank 1
 answered on 12 Aug 2011
1 answer
101 views
Hello All,

I need to convert the decimal mark (and thousands separator) comma (,) to dot (.) as my application will serve both for Europe and US. Do you have any  clue how I can do that?

Ex: 123,345.12  <=> 123.345,12

Thanks,
Ervin
Maria Ilieva
Telerik team
 answered on 12 Aug 2011
4 answers
136 views
Hi
I have version 2011.1.519.40 run time version v4.0.30319. The combox still does not have CheckBoxes option.
Which version has this feature?
Thanks
Princy
Top achievements
Rank 2
 answered on 12 Aug 2011
21 answers
821 views
I'm curious why an asp:Textbox that is decorated with RadFormDecorator looks different than a RadTextBox.  Regular textboxes cannot always be replaced with the radTextbox (if they are generated by a third-party control, for example, including edit forms in radGrid), and sometimes it just isn't necessary.  I would expect that if I used some radControls, I should be able to use form decorator to take care of everything else, and I would see a consistent styling across the board, but that is not the case.

If I use radTextBox or radInputManager on an asp:Textbox, I get a nice sqared-off look (I am using the Simple theme applied globally in web.config).  If I use form decorator, though, I get rounded corners.  I don't find them attractive at all, especially since it seems to decrease the height of the textbox as well, but more importantly, they simply do not match!  (I haven't tried all of the skins, but this seems to be the case for what I have looked at.)

There really should be some uniformity here!
Joel
Niko
Telerik team
 answered on 12 Aug 2011
1 answer
199 views

I have a Rad grid bound to a sqldatasources  using hierarchical Declarative relations which works fine. However I would like to have only specific rows expanded on load based on the value in one of the columns of the master table. I have tried the following code which does target the correct rows but does not expand them on load.

Protected Sub RadGrid1_ItemDataBound(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles RadGrid1.ItemDataBound
        If (TypeOf e.Item Is GridDataItem) Then
            If (e.Item.OwnerTableView.DataSourceID = "SqlDSmaster") Then
                'process requested operations
                Dim DataItem As GridDataItem = CType(e.Item, GridDataItem)
 
                If DataItem("Status").Text = "Hasdetailrows" Then
                    DataItem.BackColor = Drawing.Color.Red
                    DataItem.FireCommandEvent("ExpandCollapse", DataItem)
                    DataItem.Expanded = True
                End If
 
            End If
 
        End If
    End Sub




Any help would be appreciated.
Kind Regards
Ross

Shinu
Top achievements
Rank 2
 answered on 12 Aug 2011
2 answers
125 views
Hello,
I have a bunch of radComboBox inside a userControl that is use as a editForm. To fill those comboBox, I'm using WebMethod witch works fast, but if the user click to expand a second comboBox while the first haven't finish to load it's items, I receive a "Unspecified error.". I tried to deactivate all animation to accelerate the switch, but no luck. The error only happen if both comboBox haven't been filled before. After the error happened, Internet Explorer give me a debugging option. Here's where the error happened

_onReadyStateChange=function(){if(a._xmlHttpRequest.readyState===4){try{if(typeof a._xmlHttpRequest.status==="undefined")return}catch(b){return}a._clearTimer();a._responseAvailable=true;try{a._webRequest.completed(Sys.EventArgs.Empty)}finally{
 
***** debugger stop here *********************
 
if(a._xmlHttpRequest!=null){a._xmlHttpRequest.onreadystatechange=Function.emptyMethod;a._xmlHttpRequest=null}}}};this._clearTimer=function(){if(a._timer!=null){window.clearTimeout(a._timer);a._timer=null}};this._onTimeout=function(){if(!a._responseAvailable){a._clearTimer();a._timedOut=true;a._xmlHttpRequest.onreadystatechange=Function.emptyMethod;a._xmlHttpRequest.abort();a._webRequest.completed(Sys.EventArgs.Empty);a._xmlHttpRequest=null}}};Sys.Net.XMLHttpExecutor.prototype={get_timedOut:function(){return this._timedOut},get_started:function(){return this._started},get_responseAvailable:function(){return this._responseAvailable},get_aborted:function(){return this._aborted},executeRequest:function(){this._webRequest=this.get_webRequest();var c=this._webRequest.get_body(),a=this._webRequest.get_headers();this._xmlHttpRequest=new XMLHttpRequest;this._xmlHttpRequest.onreadystatechange=this._onReadyStateChange;var e=this._webRequest.get_httpVerb();this._xmlHttpRequest.open(e,this._webRequest.getResolvedUrl(),true);this._xmlHttpRequest.setRequestHeader("X-Requested-With","XMLHttpRequest");if(a)for(var b in a){var f=a[b];if(typeof f!=="function")this._xmlHttpRequest.setRequestHeader(b,f)}if(e.toLowerCase()==="post"){if(a===null||!a["Content-Type"])this._xmlHttpRequest.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=utf-8");if(!c)c=""}var d=this._webRequest.get_timeout();if(d>0)this._timer=window.setTimeout(Function.createDelegate(this,this._onTimeout),d);this._xmlHttpRequest.send(c);this._started=true},getResponseHeader:function(b){var a;try{a=this._xmlHttpRequest.getResponseHeader(b)}catch(c){}if(!a)a="";return a},getAllResponseHeaders:function(){return this._xmlHttpRequest.getAllResponseHeaders()},get_responseData:function(){return this._xmlHttpRequest.responseText},get_statusCode:function(){var a=0;try{a=this._xmlHttpRequest.status}catch(b){}return a},get_statusText:function(){return this._xmlHttpRequest.statusText},get_xml:function(){var a=this._xmlHttpRequest.responseXML;if(!a||!a.documentElement){a=Sys.Net.XMLDOM(this._xmlHttpRequest.responseText);if(!a||!a.documentElement)return null}else if(navigator.userAgent.indexOf("MSIE")!==-1)a.setProperty("SelectionLanguage","XPath");if(a.documentElement.namespaceURI==="http://www.mozilla.org/newlayout/xml/parsererror.xml"&&a.documentElement.tagName==="parsererror")return null;if(a.documentElement.firstChild&&a.documentElement.firstChild.tagName==="parsererror")return null;return a},abort:function(){if(this._aborted||this._responseAvailable||this._timedOut)return;this._aborted=true;this._clearTimer();if(this._xmlHttpRequest&&!this._responseAvailable){this._xmlHttpRequest.onreadystatechange=Function.emptyMethod;this._xmlHttpRequest.abort();this._xmlHttpRequest=null;this._webRequest.completed(Sys.EventArgs.Empty)}}};Sys.Net.XMLHttpExecutor.registerClass("Sys.Net.XMLHttpExecutor",Sys.Net.WebRequestExecutor);Sys.Net._WebRequestManager=function(){this._defaultTimeout=0;this._defaultExecutorType="Sys.Net.XMLHttpExecutor"};Sys.Net._WebRequestManager.prototype={add_invokingRequest:function(a){this._get_eventHandlerList().addHandler("invokingRequest",a)},remove_invokingRequest:function(a){this._get_eventHandlerList().removeHandler


I personally have no idea how to use this information... How can the problem be solved? Should the loading call of the first comboBox get cancel or maybe prevent all other comboBox to initiate their items loading while loading is already in progress?

Thank you for your time,
Louis-Philippe Giroux
Dimitar Terziev
Telerik team
 answered on 12 Aug 2011
1 answer
63 views
Is there anyway to dynamically change the Expand direction of a Groupsetting by using a databind.

My menu is generated by a datasource/databing and we wanted to simulate a "windows" like Start menu but dynamically setting up the expand direction is a problem.

If I set it to "up" all the items overflow its parents, and the right direction should only happen after you expand the first set of items.

Kate
Telerik team
 answered on 12 Aug 2011
4 answers
262 views
Hi Telerik Team,

I am new to RadCharts, I want to set my radchart visible =false, when there are no records in it or when the radchart shows "

There is no or empty series

". 
 
waiting for your early reply.

Thanks
Gopi Krishna

GK
Top achievements
Rank 1
 answered on 12 Aug 2011
4 answers
170 views
Using ASP.Net 4.0;

Hello,
I am working in the edit form of a RadGrid, and I have built a RadComboBox with 5 values set in its datasource in its PreRender function, with a selected value preselected when the user opens the edit form. Everything is working fine: the selected value is being loaded into the control, and when the user saves the form, the correct value is saved to database.

However, when the form is first opened, the displayed text is of the first value in the box: not the selected value. For example, the item at index 3 is marked as selected and is saved when the form save is fired, however when the form is opened the text of the item at index 0 is displayed.

Anyone have experience with an issue like this? Thanks!

Eric
Dimitar Terziev
Telerik team
 answered on 12 Aug 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?