Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
148 views
Hi,

I'm using a RadAlert to display a text like this: "Test <br/> Test <br/>". The line breaks cause the left and right border of the window to disappear. This is only the case when using the RadAlert server-side.
windowManager.RadAlert("Test <br/> Test <br/> Test", null, null, "Title", string.Empty);

This will work:
windowManager.RadAlert("Test Test Test", null, null, "Title", string.Empty);


Using this text client-side doesn't cause any problems (but the generated code differs from the server-side radalert - there is an additional div around the message).
windowManager.radalert("Test <br/> Test <br/> Test", null, null, "Title");

How can I add line breaks server-side without having any layout problems?
Vasanthan
Top achievements
Rank 1
 answered on 27 Jun 2013
5 answers
207 views
Hello, 
I have a render problem with RadSearchbox. (or RadTabStrip)
On my page, I have a RadTabStrip including 3 tab pages and each page have one RadSearchBoxe.
Tab page 1 was selected by default.

Problem is on first load of form, RadSearchbox from second tab page was not rendered.
It's default search button is displaying outside (right hand side) of the control. Please see the attachment.
If page was post back from second page (eg. search from that searchbox), the radsearchbox from 2nd page was corrected
and the one from first tab page went wrong.


I don't know this is caused by RadSearchbox or RadTabStrip.

Please help. 
I don't want to do any postback from tab changes.

Thanks in advanced.
Robin
Top achievements
Rank 2
 answered on 27 Jun 2013
2 answers
200 views
hi , 
i am using telerik 2013 Q3 , i can't use javascript in NavigateURL of RadImageTile . have y a way to do it ? thnak you . 

function openRadWindow(Page) {
         var oWnd = radopen(Page, Page + "1");
         oWnd.setSize(315, 250);
         oWnd.Center();
     }

<telerik:RadImageTile Name="Sofia"  Shape="Wide"    
                                      NavigateUrl='javascript:openRadWindow("..\Shared/Form/FormReport.aspx?report=Rep1"); return false;' Target="_blank" Width="300"   Font-Bold="True" ForeColor="White" ToolTip='Cliquez ici pour afficher le rapport'  Selected="False" Font-Italic="True" Font-Size="X-Large">
                                      
                                      <Title Text="MyText"   ></Title>
                                      
                                      <PeekTemplateSettings AnimationDuration="900" ShowInterval="8000" CloseDelay="7000"
                                           Animation="Slide" Easing="easeInQuint" ShowPeekTemplateOnMouseOver="true" HidePeekTemplateOnMouseOut="true" />
                                 </telerik:RadImageTile>


Sofiene
Top achievements
Rank 1
 answered on 27 Jun 2013
5 answers
365 views
I have a login form with an email RadTextBox and a password RadTextBox. When I log in, FireFox asks me if I want to remember my password. I click on "Remember" and when I go back to the log in page, only the email RadTextBox is filled in automatically. The password RadTextBox is empty. How do I make the password fill in automatically?

Thanks,
Vasil
Telerik team
 answered on 27 Jun 2013
1 answer
393 views
I've been playing around with the RadSearchBox, and I have to say it's a very well done component, fast and the office2007 skin is beautiful. Now I'm trying to figure out how to add hints in the textbox (just like the search and textbox hints in this forum). Is there a property we can set?
eg. hint = "Type your search here", hintColor = lightgray, etc.

Thanks
Bozhidar
Telerik team
 answered on 27 Jun 2013
6 answers
115 views
I am using this framework for validation in my web app.  I'm trying to set a RadComboBox to required using the required attribute.  The problem is that field never identifies as "required" when empty.  I believe the reason is the control is defined as below and I'm adding a required attribute with the following javascript:

$('#ctl00_MainContent_LRS_pi_1_ddlProductCDF_Input').attr('required', 'required');

The issue I believe is related to the fact that ctl00_MainContent_LRS_pi_1_ddlProductCDF_Input is set to readonly.  It works when I allow CustomText using the same code but that's not really what I want.  I can't use the RadDropdownList or regular DropdownList b/c I need separators for items in my dropdown so I'm left with the RadComboBox.  Is there something I'm missing?

I have a demo of the problem but I can't attach it here.
  <div id="ctl00_MainContent_LRS_pi_1_ddlProductCDF" class="RadComboBox RadComboBox_Office2010Blue" style="width:100px;">
 <table summary="combobox" style="border-width:0;border-collapse:collapse;table-layout:fixed;width:100%">
  <tr class="rcbReadOnly">
   <td class="rcbInputCell rcbInputCellLeft" style="margin-top:-1px;margin-bottom:-1px;width:100%;"><input name="ctl00$MainContent$LRS_pi_1$ddlProductCDF" type="text" class="rcbInput radPreventDecorate" id="ctl00_MainContent_LRS_pi_1_ddlProductCDF_Input" value="" style="display: block;" readonly="readonly" tabindex="30" /></td><td class="rcbArrowCell rcbArrowCellRight" style="margin-top:-1px;margin-bottom:-1px;"><a id="ctl00_MainContent_LRS_pi_1_ddlProductCDF_Arrow" style="overflow: hidden;display: block;position: relative;outline: none;">select</a></td>
  </tr>
 </table><div class="rcbSlide" style="z-index:6000;"><div id="ctl00_MainContent_LRS_pi_1_ddlProductCDF_DropDown" class="RadComboBoxDropDown RadComboBoxDropDown_Office2010Blue " style="float:left;display:none;"><div class="rcbScroll rcbWidth" style="width:100%;"><ul class="rcbList" style="list-style:none;margin:0;padding:0;zoom:1;"><li class="rcbItem "></li><li class="rcbItem  rcbSeparator ">Assets</li><li class="rcbItem ">DRS</li><li class="rcbItem ">VPS</li><li class="rcbItem ">VPS/TCPIP</li></ul></div></div></div><input id="ctl00_MainContent_LRS_pi_1_ddlProductCDF_ClientState" name="ctl00_MainContent_LRS_pi_1_ddlProductCDF_ClientState" type="hidden" />
</div>
Plamen
Telerik team
 answered on 27 Jun 2013
1 answer
149 views
Rad Combobox on ClientBlur Event setting Custom Text fine when we are going to press TAB  key but we are getting issue when we are selecting item from Rad Combo Box manually using Mouse.On clicking suppose i have text :

ILS - APPLE

I have called onclientblur event which is splitting text into ILS and Apple and I am showing ILS.

On TAB it is working fine(Showing ILS) , But problem is getting issue (showing ILS-APPLE) on selecting the item clicking by mouse and then clicking out side it is showing ILS - APPLE instead of ILS.


Thanks in Advance

Regards,
Haris
Boyan Dimitrov
Telerik team
 answered on 27 Jun 2013
6 answers
485 views
Hi.

I am using a radgrid in an update panel. When I click the edit button, the radgrid disappears and when i refresh the page, it reappears in edit mode as requested initially. I have tried removing the update panel, and it doesn't make any difference.

Any help would be appreciated.
Princy
Top achievements
Rank 2
 answered on 27 Jun 2013
1 answer
86 views
This one is weird. I'm not getting my confirm message set like this:

<a onclick="return confirm('Do you want to delete this document:  { idx1: , idx2: , Creation Date: 6/21/2013 2:15:17 PM}?');" href="javascript:__doPostBack('RadGridDocView$ctl00$ctl04$ctl01','')">

because after I expand the row it changes to this:

<a onclick="$find('RadGridDocView_ctl00')._clientDelete(event); return false;return confirm('Do you want to delete this document:  { idx1: , idx2: , Creation Date: 6/21/2013 2:15:17 PM}?');" href="javascript:__doPostBack('RadGridDocView$ctl00$ctl04$ctl01','')">

any ideas?
Pavlina
Telerik team
 answered on 27 Jun 2013
2 answers
83 views

I have hierarchical rad grid with 3 levels of data. The 2nd level grid showing more than 15000 records for each parent record. I have paging applied to all the grids.

I am getting below error when I drill down at first level.

    Sys.WebForms.PageRequestManagerServerErrorException: Object reference not set to an instance of an object.

I don't have any problem when the 2nd level grid has few records less than 500 records, if the count exceeds to more records I am getting above issue.

I tried increasing HttpRequest length. disabling the view state and saving the view state to disk. nothing helped.

What I could conclude is the issue is because of large number of records

Any help is appreciated.

ramana
Top achievements
Rank 1
 answered on 27 Jun 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?