Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
73 views
Hi Everyone,

    Good day..!  I would like to ask some assistance on how to isolate the issue in Rad Window..
  
     here's our code.. 
  

   <

 

 

script language="javascript" type="text/javascript">

 

 

 

   function AddCountry() {

 

 

 

     var radWindow = window.radopen("CountryAddEdit.aspx?Action=Add&CountryID=0&CountryCode=", "radWindowAdd");

 

    radWindow.SetTitle(

 

"<% Response.Write(GetResource("AddCountry", false)); %>");

 

 

 

    return false;

 

   }

 

 

   </script>

 

  

   <

 

 

telerik:RadWindowManager ID="radWindowManager"

 

 

 

    runat="server"

 

 

 

    AutoSize="false"

 

 

 

    Behaviors="Close,Move"

 

 

 

    DestroyOnClose="true"

 

 

 

    EnableAjaxSkinRendering="false"

 

 

 

    EnableViewState="true"

 

 

 

    Height="175px"

 

 

 

    Modal="true"

 

 

 

    ReloadOnShow="true"

 

 

 

    ShowContentDuringLoad="false"

 

 

 

    VisibleOnPageLoad="false"

 

 

 

    VisibleStatusbar="false"

 

 

 

    Width="500px">

 

 

 

   <Windows>

 

 

 

    <telerik:RadWindow ID="radWindow" runat="server" />

 

 

 

   </Windows>

 

 

 

  </telerik:RadWindowManager> 

  <table class="gridheader" cellpadding="0" cellspacing="0">

 

 

 

 

 

 

 

   <tr>

 

 

 

 

 

 

 

 

 

 

 

    <th class="Tcenter">

 

 

 

 

 

 

 

     <asp:LinkButton ID="lnkAddCountry" runat="server" CssClass="fugue fugue-plus clicklink"    OnClientClick="javascript:AddCountry();return false;" ToolTip="<%$ Resources: AddNewCountry %>" Text="<%$  Resources: GlobalAppResources, AddNew %>" />

 

 

 

 

 

 

 

    </th>

 

 

 

 

 

 

 

  </tr>

 

 

 

 

 

 

 

  </table>

 


    This code works fine for most of our users, except for 2 users.. For a temporary solutions, they've tried a different browser and it works fine.. I just want to know, how i can isolate kind this of issue..?  Is this a browser issue..?  

     Hope you can share some ideas on how to resolve this issue.. 

Thanks, 

Nestea    
 
Marin Bratanov
Telerik team
 answered on 07 Dec 2012
0 answers
60 views
HI,
I'm using this version (Telerik.Web.UI_2012_2_724_Dev_hotfix),

I have a problem with RadmaskedTextbox.



July
Top achievements
Rank 2
 asked on 07 Dec 2012
6 answers
498 views
What I want is to use the user decimal separator but even if I defined no specific value in the declaration of my RadNumericTextBox, it always use the "," even if my Windows is set with a ".". I also checked the decimal separator of my current culture using "Thread.CurrentThread.CurrentUICulture.NumberFormat.NumberDecimalSeparator", and the value is ".". The only way It don't have the "," is to defined a specific value.

Here is my code:
<telerik:RadNumericTextBox ID="RadNumericTextBox1" Runat="server" MaxValue="5" MinValue="-5" ShowSpinButtons="True"> 
    <
NumberFormat ZeroPattern="n" DecimalDigits="1" />

</telerik:RadNumericTextBox>

Also, if It's required to force a decimal separator, is there a way to define it in a CSS or somewhere else to every RadNumericTextBox will use the same settings so I will not forgot one.

Anybody can help me?

Thanks

 

Marc
Top achievements
Rank 1
 answered on 07 Dec 2012
18 answers
1.4K+ views
All,

Here's my scenario:

I have multiple RadAjaxPanels on a page (for simplification i'll say 2)  Panel A and Panel B.  Panel A contains a PanelBar for navigation of the site and Panel B is essentially a content area that dynamically loads User Controls.  When a user clicks on an item in the PanelBar in Panel A, it fires a server-side event which handles loading of the user control.  After the event fires I need the AjaxPanel (Panel B) to refresh and re-render it's content thus displaying the newly loaded user control to the user. 

I've tried several ways of accomplishing this to no avail.  Here's what I've tried:

1) Assigning a forced __doPostBack() to one of the client side OnItemClick events.  This does force the refresh but since it is assigned to the client side event it fires Before the server side event which is before the new user control is even loaded.

2) Using the following syntax from the online help and making this call after the event loads the user control RadAjaxPanel.ResponseScripts.Add(String.Format("$find('{0}').ajaxRequest();", RadAjaxPanel.ClientID))

Where RadAjaxPanel is replaced by the name of the AjaxPanel i'm trying to update in the application. 

If I use .ClientID I've been getting back an JScript error of 'Object does not support this method or property', whereas conversely if I use .UniqueID i get an 'Object is undefined or null' error.

3) Tried using a Page.RegisterStartupScript which registers a .js that forces the refresh through a __doPostBack();  Also tried ClientScripts.RegisterStartupScript.

All of this has been to no avail so far.  I've traced through the code and the new user control is being loaded properly and being added to the control tree.  If I do a f5 refresh on the page, the control shows up just fine because i'm using the LatestLoadedControl mechanism defined in the telerik help for loading user controls.  However, this is unacceptable as Panel B doesn't refresh it's content until f5 is hit for a page refresh. 

Can anyone please point me in the right direction?? I would Really appreciate any help anyone can give on this.  So close, yet so far!

Thanks,
SK

Maria Ilieva
Telerik team
 answered on 07 Dec 2012
3 answers
128 views
Hi,
    I have a Rad DateTimePicker in my Application and when i add one item to database  along with Rad DateTimePicker value showing error like this

 System.InvalidOperationException: Nullable object must have a value.   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)   at System.Nullable`1.get_Value()  

Actually  Rad DateTimePicker control has Value
Please help me to solve this issue
Thanks in Advance
Jesmon Joseph

Martin
Telerik team
 answered on 07 Dec 2012
5 answers
202 views
The title pretty much says it all. My server was giving me the following error "Could not load file or assembly 'Telerik.Web.UI, Version=2012.2.724.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The system cannot find the file specified."

Looking in my Windows Assembly folder I noticed that I had the 2012.2.724.35 assemblies installed, but not the 2012.2.724.40 version. When dragging and dropping the DLLs files to the C:\Windows\assembly folder for version 2012.2.724.35 they installed just fine. However, when I try to do the same thing for 2012.2.724.40 nothing happens and they do not install. I even tried repairing the .NET 4.0 framework and restarting but nothing works.

I am logged in to the Machine's local Administrator account so there is no reason I can think of why this shouldn't work.


EDIT: I also want to be clear, that I'm perfectly aware that I can get around the issue by adding the DLL to my application bin folder, however these DLLs are not small, and when I have dozens of applications using them the burden can get quite large. At any rate, it completely defeats the purpose of the GAC (i.e. GLOBAL Assembly Cache).

EDIT2: Is this true? Did they really remove the ability to add GACs this way in .NET 4.0? I'd really rather not use the Telerik installer as it does not allow any flexibility as to what to install. I just used the 2012.3.1016 installer and I only got the Design binaries which I don't even need. Where are UI and Skins? Ugh!
Marin Bratanov
Telerik team
 answered on 07 Dec 2012
1 answer
71 views
When I set the  EnableViewState="false" to the radgrid. The viewstate becomes smaller. And the grid works well, the paging also works except pagesize dropdownlist.

When I select 10 items per page, 20 items per page, it works well. But When I select pagesize per 50, it doesn't work,

We want to use this in our project to improve the performance. 

Can you fix this for me as soon as possible? 
Kostadin
Telerik team
 answered on 07 Dec 2012
1 answer
364 views
I have a RadTooltip that is placed inside of a RadGrid's header that is being displayed inside of a RadWindowManager.  When the RadWindow gets resized to a smaller area, the grid and it's columns resize appropriately however the expanded tooltip's position stays the same; which causes it to be hidden outside the bounds of the RadWindow because the RadWindow's dimensions are smaller.  I have the tooltip configured to be placed relative to the element that makes it display but it doesn't seem to stay relative to that element in the case of the radwindow shrinking in size.  It looks to be absolutely positioned once popped out.

Is there a solution to this issue?
Marin Bratanov
Telerik team
 answered on 07 Dec 2012
2 answers
68 views
This morning I was informed about the new version of your controls [Q3 2012 SP1 (version 2012.3.1205)] and upgraded my project accordingly.

I immediately noticed that at least two things are broken in the new version of the Treeview (please see screenshot) :
  1. The expanded treeview no longer respects the bottom boundary of the treeview container.
  2. The vertical alignment of the node text has jumped up several pixels, at least in IE9.

I will continue doing further testing but am praying that you will fix these two problems asap.

Sincerely,

Robert W.
Vancouver, BC

Boyan Dimitrov
Telerik team
 answered on 07 Dec 2012
1 answer
65 views
Hi i have a problem formatting my currency.
i have set the culture to polish and type to currency ( i want to dynimc change cultures). On the client side the text box displays properly the format (i mean depending on the culture - the number divided by . or , and the currency) but on the server side. This were the problem begins:

When i get the text from the textbox (for polish) despite i have entered a number in a format like this 555 555,00 i get using mynumerictextbox.Text instead of 555 555,00 a 555 555.00
and when i try to insert text to textbox it changes the 55,55 to 5555.
Is there any whay to make it work the same way as it displays data on the client side?
Eyup
Telerik team
 answered on 07 Dec 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?