Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
215 views
Hi All,

I've been trying to set my tab width on client side but its not working. There is no error but changes are not being applied. This is based on Clients screen resolution. 1024x768 and below will be 150px tab width, higher than 1024x768 300px tab width.

Heres my code

var Mytab;
function OnClientLoad(sender)
{
   Mytab = sender;
   var scrW = screen.width;
   var scrH = screen.height;
   var val;
 
   if (scrW <= 1024){
      val = "150px";
   }else{
      val = "300px";
   }
   for (var i = 0; i < Mytab.get_allTabs().length; i++)
   {
      Mytab.get_allTabs()[i].width = val;
   }
}
 
 
<telerik:RadTabStrip ID="MyTab" runat="server" EnableEmbeddedSkins="False" OnClientLoad="OnClientLoad" .....


Thanks in advance,
Rj
RJ
Top achievements
Rank 1
 answered on 23 Jul 2013
12 answers
383 views
I just updated to Q2 2013 (from Q1 2013) and let VSExtensions update a test application that was being used to demonstrate menu styles (in preparation for an upcoming project).

The first control on the screen is a RadDropDownList and before the update the control expanded down (as expected.)  After the update, it expands up (and is truncated by the top of the screen).  I know that a new .ExpandDirection property was added but the IDE indicates that it defaults to 'down'.  Just to make sure, I tried explicitly specifying the down direction, both in markup and in code behind.  No difference.  Also, for the heck of it, I switched it to "Up" and the behavior was unchanged.

Oh, and I just found out that it only does this sometimes.  The RadDropDownList is in a master page.  On the master page, there are also links used to select the menu style that is to be loaded in the content area.  Curiously, when display content that uses a RadMenu based menu (three of six choices), the above behavior occurs.  When you pick a menu based on RadPanelBar or RadRibbonBar for the content area, the RadDropDownList  drops down, instead of up (again, regardless of the setting of .ExpandDirection).
Bozhidar
Telerik team
 answered on 23 Jul 2013
11 answers
435 views
Hi,
I have a master/cxontent pahe with a radwindow manager on it. From this I call a radwindow which opens fine and is modal. Then from the radwindow I open another modal radwindow but this radwindow appears under the first radwindow. I want it to appear on top, so how do I set the z order (if this is the problem).

I have tried both opening methods as recommended :

var oBrowserWnd = GetRadWindow().BrowserWindow;
oBrowserWnd.radopen("http://www.google.com", "NewWindow");

and

var oManager = GetRadWindow().get_windowManager();
oManager.open("http://www.google.com", "NewWindow");

but they both end up under the calling RadWindow. The version is: 2009.1.311.35

Regards
Roger
Shinu
Top achievements
Rank 2
 answered on 23 Jul 2013
1 answer
334 views
Hi,

I have List of Objcet KeywordsArray with has properties like CodeType, Keyword and again it has one list of object KeywordClassifier which has properties patternmatch and patterntype whow i can bind the grid with KeywordClassifier List i am able to bind KeywordsArray.

so basically i want to bind the grid with Codetype, Keyword, patternmatch , patterntype  (Patternmatch,patterntype are list inside KwywordArray )
Antonio Stoilkov
Telerik team
 answered on 23 Jul 2013
7 answers
228 views
Hi,

I have a weird problem. I have created a usercontrol called MemberPicker, which allows me to select particular member. It has textbox and button. On button click javascript fires and opens RadWindow with a search screen for members. When member is chosen RadWindow is closed and members name is populated into the textbox of the MemberPicker. It works fine when I put it on any page. However I get function undefined javascript error when I put MemberPicker control inside RadGrid in EditItemTemplate of one of the columns?

I must mention that RadGrid is wrapped inside RadAjaxPanel, when I remove it everything works fine. But I really need to have ajax effects with loading panel etc. I know you would probably suggest to use RadAjaxManager, but how can I use it to avoid error I am getting without removing all nice ajax effects?

Any suggestions I am clueless and this is very urgent. Thanks
Antonio Stoilkov
Telerik team
 answered on 23 Jul 2013
0 answers
76 views
hello to use HTML charts in asp.net web application

I have just copied example of Html chart from telerik site
but it gives error ie Unknown server tag telerik:AreaSeries

should we import any thing else or is something  missing from me

please reply
Kishor
Kishor
Top achievements
Rank 2
 asked on 23 Jul 2013
2 answers
129 views
I have a RadGrid at the top of the page and a RadAjaxPanel at the bottom.  When a row from the RadGrid is clicked on to select it, I want the RadAJAXPanel to update.  The RadAjaxPanel has textboxes that will fill with information from the selected RadGrid row.

How to I use the RadAJAXManager to trigger the RadAJAXPanel to update when a row is clicked on in the RadGrid?

Thank you.
George
Top achievements
Rank 1
 answered on 23 Jul 2013
7 answers
593 views
I have a textbox control in a column template. When in edit mode (Popup), if I change the value of the text box and while leaving focus on the text box, click on update, the old value of the text box is posted back. If I tab out of the text box then click on update, the new value is posted back.
Is there a setting that I am missing, or has anyone else had this problem.
Our Telerik controls are the latest version.
Geoff
Top achievements
Rank 1
 answered on 23 Jul 2013
0 answers
97 views
I'm using Visual Studio 2012 Ultimate bit at work. The OS is Windows 7 x32. We have a large web application (Asp Web Form based) which relies heavily on the telerik controls. We also use JustCode, and Telerik reports.

However recent updates to Q2 2013 has caused serious problems. Now in aspx files, just code underlines red on all telerik controls and switching to the design mode gives error on all the controls. I've tried various solutions and even searched the forums to no avail. 

Here is the screenshot of the VS 2012, webpage with telerik controls in design mode

any solutions?


Update: (Fixed the issue of all designers except Telerik Report viewer)

I resolved the issue by checking out all the files, and running the upgrade Wizard. However the Upgrade Wizard was unable to add the httpHandler for the report in web.config. so I added the following line:

<add path="Telerik.ReportViewer.axd" verb="*" type="Telerik.ReportViewer.WebForms.HttpHandler"
      validate="false" />

even after which the report viewer designer kept giving error in design mode but when executed the app the report viewer buttons started displaying in the page in a weird way. all the buttons were displayed as 100% width and each one displayed on a single line.



Mercede
Top achievements
Rank 2
 asked on 22 Jul 2013
2 answers
248 views

Background
I am using a RadGrid with GridNumericColumns, but I can reproduce this using just a RadNumericTextbox on a page.

Telerik.Web.UI.dll 2013.2.611.35.
IE10, IE7, Chrome, Firefox

Issue
When entering a decimal value into a RadNumericTextbox, if there are no values greater than 0 to the left of the decimal point, and the first non-zero digit is seven digits to the right of the decimal point, the number will be displayed in the field in scientific notation on focus. 0.0000007 will be displayed as 7e-7 if the user enters the number, selects outside the textbox, and then selects the textbox again. I would like it to remain in standard decimal notation.

Code

<telerik:RadNumericTextBox ID="rntTest" runat="server" DataType="Decimal" NumberFormat-DecimalDigits="15">
</telerik:RadNumericTextBox>

 

Additional Notes
The user in the previous thread seemed to be having an identical issue. Perhaps this bug has been reintroduced?
Previous Issue

Zachary
Top achievements
Rank 1
 answered on 22 Jul 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?