Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
184 views
Any time I use the properties window to change something on a radTextBox, example: tabindex, the PasswordStrengthSettings keeps getting inserted inside the <telerik:RadTextBox> tags. How do I stop this from happening besides doing the coding directly in the html code? I am using Telerik.Web.UI version 2011.2.712.35

<PasswordStrengthSettings ShowIndicator="False" CalculationWeightings="50;15;15;20"
    PreferredPasswordLength="10" MinimumNumericCharacters="2" RequiresUpperAndLowerCaseCharacters="True"
    MinimumLowerCaseCharacters="2" MinimumUpperCaseCharacters="2" MinimumSymbolCharacters="2"
    OnClientPasswordStrengthCalculating="" TextStrengthDescriptions="Very Weak;Weak;Medium;Strong;Very Strong"
    TextStrengthDescriptionStyles="riStrengthBarL0;riStrengthBarL1;riStrengthBarL2;riStrengthBarL3;riStrengthBarL4;riStrengthBarL5;"
    IndicatorElementBaseStyle="riStrengthBar" IndicatorElementID=""></PasswordStrengthSettings>


Vasil
Telerik team
 answered on 02 Sep 2011
2 answers
259 views
Hi,

I'm running into an issue with my paging buttons (First Page, Previous Page, Next Page, Last Page) not working, the page numbers are working as expected, if I click on one of them, then the correct data is shown in the grid.

Initially, when clicking on the above paging buttons I was receiving a JavaScript error telling me to add EnableEventValidation="false" to my page properties, which I did. However, when I click on the paging buttons nothing happens, the data displayed in the grid does not change - Clicking on the page number was again working prior to this change. I can see that a post back occurs when either the paging button or screen numbers by placing a breakpoint in my Page_Load.

Whilst looking through the forums here I saw an posting (http://www.telerik.com/community/forums/aspnet-ajax/grid/first-and-last-page-buttons-in-paging-do-not-work.aspx), which appeared to be the same issue, but by placing a RadAjaxManager on the screen the issue appears to have been resolved, this did not work for me. I tried placing the reference in my Master page, then again in my content page.

I've also seen instances of people placing EnableViewState="false" in the grid, when I do this I enter my OnNeedDataSource code when clicking on the page numbers, but it's not entered for the paging buttons, the data still does not change.

The only thing that I'm doing different from the many times that I've used the RadGrid in the past is that the grid is placed within a container class which inherits from RadGrid, as my client wishes to provide some additional functionality in the grids which isn't present out of the box.

Thanks in advance for any help or advice offered.


Liam
Pavlina
Telerik team
 answered on 02 Sep 2011
1 answer
118 views
Does anyone know how are we able to access an instance of the radeditor used in dnn via javascript? For example $find(oEditor.ClientId) is unsuccessful, and specifically I need to be able to utilize the radeditor sethtml and gethtml methods of that editor instance.

Thanks!
Rumen
Telerik team
 answered on 02 Sep 2011
2 answers
160 views

I am Currently using Telerik Version v.2011.1.609.35 
I have following code on my aspx page displaying a editor control. When the page renders very first time the Radeditor width is really wide which spans way beyond browser width. Please see attached image.
Radeditor comes back to the width i have specified If
1) If i just refresh the page
2) Stop the application and run it again 
I cannot have our client do this cause they use this control several times a day.

 

I go to browser's internet options and delete the temp files and cookies
The problem is back again -Radeditor renders wide
I tried applying the width style via CSS, but does not help, the problem persists.....

 

<FONT color=#0000ff size=2><FONT color=#0000ff size=2>
<P><</FONT></FONT><FONT color=#a31515 size=2><FONT color=#a31515 
size=2>asp</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2>:</FONT></FONT><FONT color=#a31515 size=2><FONT color=#a31515 
size=2>MultiView</FONT></FONT><FONT size=2> </FONT><FONT color=#ff0000 
size=2><FONT color=#ff0000 size=2>ID</FONT></FONT><FONT color=#0000ff 
size=2><FONT color=#0000ff size=2>="MultiView1"</FONT></FONT><FONT size=2
</FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 
size=2>runat</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2>="server"</FONT></FONT><FONT size=2> </FONT><FONT color=#ff0000 
size=2><FONT color=#ff0000 size=2>ActiveViewIndex</FONT></FONT><FONT 
color=#0000ff size=2><FONT color=#0000ff 
size=2>="0"><BR></P></FONT></FONT><FONT size=2>
<P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2></P>
<P><FONT color=#0000ff size=2><FONT color=#0000ff size=2><</FONT></FONT><FONT 
color=#a31515 size=2><FONT color=#a31515 size=2>asp</FONT></FONT><FONT 
color=#0000ff size=2><FONT color=#0000ff size=2>:</FONT></FONT><FONT 
color=#a31515 size=2><FONT color=#a31515 size=2>View</FONT></FONT><FONT size=2
</FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 
size=2>ID</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2>="View2"</FONT></FONT><FONT size=2> </FONT><FONT color=#ff0000 
size=2><FONT color=#ff0000 size=2>runat</FONT></FONT><FONT color=#0000ff 
size=2><FONT color=#0000ff size=2>="server"><BR>-----<BR></FONT></FONT><FONT 
color=#0000ff size=2><FONT color=#0000ff size=2></P>
<P></</FONT></FONT><FONT color=#a31515 size=2><FONT color=#a31515 
size=2>asp</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2>:</FONT></FONT><FONT color=#a31515 size=2><FONT color=#a31515 
size=2>View</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2>></P>
<P></FONT></FONT><BR><</FONT></FONT><FONT color=#a31515 size=2><FONT 
color=#a31515 size=2>asp</FONT></FONT><FONT color=#0000ff size=2><FONT 
color=#0000ff size=2>:</FONT></FONT><FONT color=#a31515 size=2><FONT 
color=#a31515 size=2>View</FONT></FONT><FONT size=2> </FONT><FONT color=#ff0000 
size=2><FONT color=#ff0000 size=2>ID</FONT></FONT><FONT color=#0000ff 
size=2><FONT color=#0000ff size=2>="View2"</FONT></FONT><FONT size=2
</FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 
size=2>runat</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2>="server"></P></FONT></FONT><FONT size=2>
<P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2><</FONT></FONT><FONT color=#a31515 size=2><FONT color=#a31515 
size=2>br</FONT></FONT><FONT size=2> </FONT><FONT color=#0000ff size=2><FONT 
color=#0000ff size=2>/></P></FONT></FONT><FONT size=2>
<P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2><</FONT></FONT><FONT color=#a31515 size=2><FONT color=#a31515 
size=2>table</FONT></FONT><FONT size=2> </FONT><FONT color=#ff0000 size=2><FONT 
color=#ff0000 size=2>cellspacing</FONT></FONT><FONT color=#0000ff size=2><FONT 
color=#0000ff size=2>="0"</FONT></FONT><FONT size=2> </FONT><FONT color=#ff0000 
size=2><FONT color=#ff0000 size=2>cellpadding</FONT></FONT><FONT color=#0000ff 
size=2><FONT color=#0000ff size=2>="2"</FONT></FONT><FONT size=2> </FONT><FONT 
color=#ff0000 size=2><FONT color=#ff0000 size=2>width</FONT></FONT><FONT 
color=#0000ff size=2><FONT color=#0000ff size=2>="800"</FONT></FONT><FONT 
size=2> </FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 
size=2>bgcolor</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2>="#ffffff"</FONT></FONT><FONT size=2> </FONT><FONT color=#ff0000 
size=2><FONT color=#ff0000 size=2>border</FONT></FONT><FONT color=#0000ff 
size=2><FONT color=#0000ff size=2>="0"></P></FONT></FONT><FONT size=2>
<P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2><</FONT></FONT><FONT color=#a31515 size=2><FONT color=#a31515 
size=2>tr</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2>><</FONT></FONT><FONT color=#a31515 size=2><FONT color=#a31515 
size=2>td</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2>><</FONT></FONT><FONT color=#a31515 size=2><FONT color=#a31515 
size=2>fieldset</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2>><</FONT></FONT><FONT color=#a31515 size=2><FONT color=#a31515 
size=2>legend</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2>></FONT></FONT><FONT size=2>Our Product Name</FONT><FONT color=#0000ff 
size=2><FONT color=#0000ff size=2></</FONT></FONT><FONT color=#a31515 
size=2><FONT color=#a31515 size=2>legend</FONT></FONT><FONT color=#0000ff 
size=2><FONT color=#0000ff size=2>></P></FONT></FONT><FONT size=2>
<P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2><</FONT></FONT><FONT color=#a31515 size=2><FONT color=#a31515 
size=2>table</FONT></FONT><FONT size=2> </FONT><FONT color=#ff0000 size=2><FONT 
color=#ff0000 size=2>cellspacing</FONT></FONT><FONT color=#0000ff size=2><FONT 
color=#0000ff size=2>="0"</FONT></FONT><FONT size=2> </FONT><FONT color=#ff0000 
size=2><FONT color=#ff0000 size=2>cellpadding</FONT></FONT><FONT color=#0000ff 
size=2><FONT color=#0000ff size=2>="2"</FONT></FONT><FONT size=2> </FONT><FONT 
color=#ff0000 size=2><FONT color=#ff0000 size=2>width</FONT></FONT><FONT 
color=#0000ff size=2><FONT color=#0000ff size=2>="800"</FONT></FONT><FONT 
size=2> </FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 
size=2>bgcolor</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2>="#ffffcc"</FONT></FONT><FONT size=2> </FONT><FONT color=#ff0000 
size=2><FONT color=#ff0000 size=2>border</FONT></FONT><FONT color=#0000ff 
size=2><FONT color=#0000ff size=2>="0"></P></FONT></FONT><FONT size=2>
<P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2><</FONT></FONT><FONT color=#a31515 size=2><FONT color=#a31515 
size=2>tbody</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2>></P></FONT></FONT><FONT size=2>
<P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2><</FONT></FONT><FONT color=#a31515 size=2><FONT color=#a31515 
size=2>tr</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2>></P></FONT></FONT><FONT size=2>
<P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2><</FONT></FONT><FONT color=#a31515 size=2><FONT color=#a31515 
size=2>td</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2>></P></FONT></FONT><FONT size=2>
<P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2><</FONT></FONT><FONT color=#a31515 size=2><FONT color=#a31515 
size=2>div</FONT></FONT><FONT size=2> </FONT><FONT color=#ff0000 size=2><FONT 
color=#ff0000 size=2>style</FONT></FONT><FONT color=#0000ff size=2><FONT 
color=#0000ff size=2>="</FONT></FONT><FONT color=#ff0000 size=2><FONT 
color=#ff0000 size=2>width</FONT></FONT><FONT size=2>: </FONT><FONT 
color=#0000ff size=2><FONT color=#0000ff size=2>800px</FONT></FONT><FONT 
size=2>; </FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 
size=2>text-align</FONT></FONT><FONT size=2>: </FONT><FONT color=#0000ff 
size=2><FONT color=#0000ff size=2>right"><</FONT></FONT><FONT 
color=#a31515 size=2><FONT color=#a31515 size=2>asp</FONT></FONT><FONT 
color=#0000ff size=2><FONT color=#0000ff size=2>:</FONT></FONT><FONT 
color=#a31515 size=2><FONT color=#a31515 size=2>Literal</FONT></FONT><FONT 
size=2> </FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 
size=2>ID</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2>="popguide"</FONT></FONT><FONT size=2> </FONT><FONT color=#ff0000 
size=2><FONT color=#ff0000 size=2>runat</FONT></FONT><FONT color=#0000ff 
size=2><FONT color=#0000ff size=2>="server"/></</FONT></FONT><FONT 
color=#a31515 size=2><FONT color=#a31515 size=2>div</FONT></FONT><FONT 
color=#0000ff size=2><FONT color=#0000ff size=2>></P></FONT></FONT><FONT 
size=2>
<P>Type directly into the text editor below, or copy and paste from a Word 
document. Use formatting tools at the top, if desired.</FONT><FONT color=#0000ff 
size=2><FONT color=#0000ff size=2><</FONT></FONT><FONT color=#a31515 
size=2><FONT color=#a31515 size=2>br</FONT></FONT><FONT size=2> </FONT><FONT 
color=#0000ff size=2><FONT color=#0000ff size=2>/></P></FONT></FONT><FONT 
size=2>
<P>Click Update to submit and return to main OV-5a form.</FONT><FONT 
color=#0000ff size=2><FONT color=#0000ff size=2><</FONT></FONT><FONT 
color=#a31515 size=2><FONT color=#a31515 size=2>br</FONT></FONT><FONT size=2
</FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2>/></P></FONT></FONT><FONT size=2>
<P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2><</FONT></FONT><FONT color=#a31515 size=2><FONT color=#a31515 
size=2>telerik</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2>:</FONT></FONT><FONT color=#a31515 size=2><FONT color=#a31515 
size=2>RadEditor</FONT></FONT><FONT size=2> </FONT><FONT color=#ff0000 
size=2><FONT color=#ff0000 size=2>ID</FONT></FONT><FONT color=#0000ff 
size=2><FONT color=#0000ff size=2>="RadEditor1"</FONT></FONT><FONT size=2
</FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 
size=2>runat</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2>="server"</FONT></FONT><FONT size=2> </FONT><FONT color=#ff0000 
size=2><FONT color=#ff0000 size=2>Width</FONT></FONT><FONT color=#0000ff 
size=2><FONT color=#0000ff size=2>="798px"</FONT></FONT><FONT size=2
</FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 
size=2>StripFormattingOnPaste</FONT></FONT><FONT color=#0000ff size=2><FONT 
color=#0000ff size=2>="MSWordRemoveAll"</FONT></FONT><FONT size=2> </P>
<P></FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 
size=2>ContentFilters</FONT></FONT><FONT color=#0000ff size=2><FONT 
color=#0000ff size=2>="RemoveScripts, FixUlBoldItalic, FixEnclosingP, 
IECleanAnchors, MozEmStrong, ConvertFontToSpan, IndentHTMLContent, 
EncodeScripts, OptimizeSpans"></P></FONT></FONT><FONT size=2>
<P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2><</FONT></FONT><FONT color=#a31515 size=2><FONT color=#a31515 
size=2>Content</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2>></P>
<P></</FONT></FONT><FONT color=#a31515 size=2><FONT color=#a31515 
size=2>Content</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2>></P></FONT></FONT><FONT size=2>
<P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2></</FONT></FONT><FONT color=#a31515 size=2><FONT color=#a31515 
size=2>telerik</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2>:</FONT></FONT><FONT color=#a31515 size=2><FONT color=#a31515 
size=2>RadEditor</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2>></P></FONT></FONT><FONT size=2>
<P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2></</FONT></FONT><FONT color=#a31515 size=2><FONT color=#a31515 
size=2>td</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2>></P></FONT></FONT><FONT size=2>
<P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2></</FONT></FONT><FONT color=#a31515 size=2><FONT color=#a31515 
size=2>tr</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2>></P></FONT></FONT><FONT size=2>
<P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2><</FONT></FONT><FONT color=#a31515 size=2><FONT color=#a31515 
size=2>tr</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2>></P></FONT></FONT><FONT size=2>
<P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2><</FONT></FONT><FONT color=#a31515 size=2><FONT color=#a31515 
size=2>td</FONT></FONT><FONT size=2> </FONT><FONT color=#ff0000 size=2><FONT 
color=#ff0000 size=2>align</FONT></FONT><FONT color=#0000ff size=2><FONT 
color=#0000ff size=2>="right"><</FONT></FONT><FONT color=#a31515 
size=2><FONT color=#a31515 size=2>asp</FONT></FONT><FONT color=#0000ff 
size=2><FONT color=#0000ff size=2>:</FONT></FONT><FONT color=#a31515 
size=2><FONT color=#a31515 size=2>Button</FONT></FONT><FONT size=2> </FONT><FONT 
color=#ff0000 size=2><FONT color=#ff0000 size=2>ID</FONT></FONT><FONT 
color=#0000ff size=2><FONT color=#0000ff size=2>="SubmitBtn"</FONT></FONT><FONT 
size=2> </FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 
size=2>runat</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2>="server"</FONT></FONT><FONT size=2> </FONT><FONT color=#ff0000 
size=2><FONT color=#ff0000 size=2>Text</FONT></FONT><FONT color=#0000ff 
size=2><FONT color=#0000ff size=2>="Update"</FONT></FONT><FONT size=2
</FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2>/></FONT></FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 
size=2>&nbsp;&nbsp;&nbsp;&nbsp;</FONT></FONT><FONT color=#0000ff 
size=2><FONT color=#0000ff size=2><</FONT></FONT><FONT color=#a31515 
size=2><FONT color=#a31515 size=2>asp</FONT></FONT><FONT color=#0000ff 
size=2><FONT color=#0000ff size=2>:</FONT></FONT><FONT color=#a31515 
size=2><FONT color=#a31515 size=2>Button</P></FONT></FONT><FONT size=2>
<P></FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 
size=2>ID</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2>="CancelBtn"</FONT></FONT><FONT size=2> </FONT><FONT color=#ff0000 
size=2><FONT color=#ff0000 size=2>runat</FONT></FONT><FONT color=#0000ff 
size=2><FONT color=#0000ff size=2>="server"</FONT></FONT><FONT size=2
</FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 
size=2>Text</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2>="Cancel"</FONT></FONT><FONT size=2> </FONT><FONT color=#0000ff 
size=2><FONT color=#0000ff size=2>/></</FONT></FONT><FONT color=#a31515 
size=2><FONT color=#a31515 size=2>td</FONT></FONT><FONT color=#0000ff 
size=2><FONT color=#0000ff size=2>></P></FONT></FONT><FONT size=2>
<P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2></</FONT></FONT><FONT color=#a31515 size=2><FONT color=#a31515 
size=2>tr</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2>></P></FONT></FONT><FONT size=2>
<P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2></</FONT></FONT><FONT color=#a31515 size=2><FONT color=#a31515 
size=2>tbody</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2>></P></FONT></FONT><FONT size=2>
<P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2></</FONT></FONT><FONT color=#a31515 size=2><FONT color=#a31515 
size=2>table</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2>></P></FONT></FONT><FONT size=2>
<P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2></</FONT></FONT><FONT color=#a31515 size=2><FONT color=#a31515 
size=2>fieldset</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2>></</FONT></FONT><FONT color=#a31515 size=2><FONT color=#a31515 
size=2>td</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2>></</FONT></FONT><FONT color=#a31515 size=2><FONT color=#a31515 
size=2>tr</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2>></P></FONT></FONT><FONT size=2>
<P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2></</FONT></FONT><FONT color=#a31515 size=2><FONT color=#a31515 
size=2>table</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2>></P></FONT></FONT><FONT size=2>
<P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2></</FONT></FONT><FONT color=#a31515 size=2><FONT color=#a31515 
size=2>asp</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2>:</FONT></FONT><FONT color=#a31515 size=2><FONT color=#a31515 
size=2>View</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2>></P></FONT></FONT><BR><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2>
<P></</FONT></FONT><FONT color=#a31515 size=2><FONT color=#a31515 
size=2>asp</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2>:</FONT></FONT><FONT color=#a31515 size=2><FONT color=#a31515 
size=2>MultiView</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2>></FONT></FONT></P>
Your help on this is appreciated,
VJ

Rumen
Telerik team
 answered on 02 Sep 2011
2 answers
221 views
I have a radgrid with a column that has a RADCOMBO set in the filter Template. How do I set the the default filter index of the RADCOMBO on first time page load to another index programatically (in my case "Show Only Null" as opposed to "ALL").  I tried this code in both preRender and itemDataBound but it only sets the text and does not actually filter the data. The second part of the code shows the set up of the column in the aspx file. Can you provide me exact code? Thanks!

//tried this in preRender and itemDataBound methods
GridFilteringItem filterItem = (GridFilteringItem)e.Item;
RadComboBox combo = (RadComboBox)filterItem.FindControl("PROB_DATE");
combo.SelectedIndex = 1;




 <telerik:GridBoundColumn ForceExtractValue="Always" DataField="PROB_DATE" ReadOnly="True" DataType="System.DateTime"
                    FilterControlAltText="Filter PROB_DATE column" HeaderText="PROB DATE RESOLVED"
                    SortExpression="PROB_DATE" UniqueName="PROB_DATE" DataFormatString="{0:MM/dd/yyyy}">


                    <FilterTemplate>
                        <telerik:RadComboBox ID="RadComboBoxPROB_DATE" DataSourceID="SqlDataSourceMyDataSource"
                            DataTextField="PROB_DATE" DataValueField="PROB_DATE" Height="200px" AppendDataBoundItems="true"
                            SelectedValue='<%# ((GridItem)Container).OwnerTableView.GetColumn("PROB_DATE").CurrentFilterValue %>'
                            runat="server" OnClientSelectedIndexChanged="PROB_DATEIndexChanged" Width="140px">
                            <Items>
                                <telerik:RadComboBoxItem Text="ALL" />
                            </Items>
                        </telerik:RadComboBox>
                        <telerik:RadScriptBlock ID="RadScriptBlockPROB_DATE" runat="server">
                            <script type="text/javascript">
                                function PROB_DATEIndexChanged(sender, args) {
                                    var value2 = args.get_item().get_value();


                                    if (value2 == 'Show Only Null') {
                                        var tableView = $find("<%# ((GridItem)Container).OwnerTableView.ClientID %>");
                                        tableView.filter("PROB_DATE", args.get_item().get_text(), "IsNull");
                                    }
                                    else {
                                        var tableView = $find("<%# ((GridItem)Container).OwnerTableView.ClientID %>");
                                         tableView.filter("PROB_DATE", args.get_item().get_value(), "NoFilter");
                                    }


                                //}
                            </script>
                        </telerik:RadScriptBlock>
                    </FilterTemplate>


                </telerik:GridBoundColumn>







Ryan
Top achievements
Rank 1
 answered on 02 Sep 2011
2 answers
164 views
A simple web app following your demo here: http://demos.telerik.com/aspnet-ajax/editor/examples/rtfexport/defaultvb.aspx

Each time I save to database and retrieve it back into the editor an extra bullet point as appeared...I have tried turning off all content filters and different ones at a time but it makes no difference.

Any idea why this happening and a solution to it? (Q2 2011).

Thanks,
Rumen
Telerik team
 answered on 02 Sep 2011
6 answers
222 views
Can you guys please help me with the following post.

http://www.telerik.com/community/forums/aspnet-ajax/tooltip/radtooltip-popup-disappears-in-chrome.aspx

My tooltip appears on the top of the page in chrome, it doesn't appear relevant to Mouse or element.

Same problem in Safari. I am using Q3 2009 but cannot buy new ones.
Sai
Top achievements
Rank 1
 answered on 02 Sep 2011
2 answers
136 views
I have migrated from ASP.Net 2 to 4 and am running 2011.2.712.40

If I run the site Application Pool in Classic mode the menus work normally.

If I run them in Integrated mode, the top level menus work, but any secondary menus do not show. That is if the top level has no children you can click on it and it works as normal. If they have any children the dropdown menu doesn't show.

Literally I can have the App Pool in Classic navigate to the site and it works, change the app pool hit the browser refresh and it doesn't.

I have tested in both Chrome and IE 9.

Can anybody see a connection between these two things? Or better yet a way of fixing it?

Randy
Kate
Telerik team
 answered on 02 Sep 2011
0 answers
92 views
Hi
I have a datalist(looking like a dropdown:- clicking on an expand button pops up the datalist) with links clicking on which calls a pagemethod to update one status field in the database. I have a rad grid which is showing the status-change history.So after the update in the database, i need to rebind the radgrid, here i am doing it using a RaiseCallbackEvent .
<script type="text/javascript">
var usrid;var jid;var st;
function updatestatus(id,stat)
{
st=stat;
usrid = $get("ctl00_CPHMain_Applicantsdetails_hdusrid");
jid = $get("ctl00_CPHMain_Applicantsdetails_hdjbid");
            if (usrid.value.length > 0) {
                PageMethods.UpdateStatus(usrid.value,jid.value,id,OnCheckUpdate);
            }
          
                CallServer("", "");  
}
in code behind

 public string GetCallbackResult()
        {
            return "true";
        }
        public void RaiseCallbackEvent(string eventArgument)
        {
            RGHistory.Rebind();
        }
i could see the data fetching in the needdatasource event and binding to the radgrid using break points.
but the fetched data is not rendering in the grid.
is this coz of a partial postback?
Is there any way to render the grid?
liju
Top achievements
Rank 1
 asked on 02 Sep 2011
2 answers
256 views

Hi Experts,

I am building a page divided in two sections. The first section is a table of SellingSubjects and the second a form where the details of the selected SellingSubject are displayed (<div class="divDetails" style="display: none">).

In order to enhance the user experience I wrapped each section in RadPane and use some client script to trigger the upload of the appropriate details when a line in a table is selected.

When the page is first loaded no line in the table is selected and I do not want to show an empty form. Therefore the details are hidden with “display: none”.

With this configuration I noticed that the RadAjaxLoadingPanel animation is not shown at first click on the table line in order to show the SellingSubject details. After some investigation I found out that the cause is in the “display: none” of the details. Do you have any suggestion to overcome this problem without changing the main functionality?

My site is a  DNN 6.00 module and I am using the embedded Telerik Ajax Controlls.

<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SellingSubjectsView.ascx.cs"
    Inherits="Vits.Modules.VipCrm.Controls.Admin.SellingSubjectsView" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<%@ Register TagPrefix="dnn" TagName="Label" Src="~/controls/LabelControl.ascx" %>
<%@ Register Src="~/DesktopModules/VipCrm/Controls/Admin/SellingSubjectsBasic.ascx"
    TagName="SellingSubjectsBasic" TagPrefix="vits" %>
<telerik:RadAjaxLoadingPanel ID="ralPanel" runat="server" BackgroundPosition="Center"
    Transparency="60" Skin="Windows7">
</telerik:RadAjaxLoadingPanel>
<asp:Button runat="server" Text="abc" ID="btnSaveDetails" CausesValidation="false"
    CssClass="AllTrigger" OnClick="btnSave_Click" Style="display: none;" />
<telerik:RadSplitter ID="RadSplitter" runat="server" Width="100%" Height="855px" CssClass="MainSplitter">
    <telerik:RadPane ID="rpTable" runat="server">
        <telerik:RadAjaxPanel ID="raxTable" runat="server" LoadingPanelID="ralPanel" ClientEvents-OnRequestStart="HideDetails">
            <asp:Panel ID="panTable" runat="server">
                <telerik:RadGrid ID="rgvMain" runat="server" OnInit="InitRagGrid" DataSourceID="gridData"
                    Height="850px" OnItemCreated="rgvMain_ItemCreated" CssClass="MainGrid" OnItemCommand="rgvMain_ItemCommand"
                    AllowPaging="True" PageSize="10">
                    <MasterTableView DataKeyNames="Id" AutoGenerateColumns="false" AllowFilteringByColumn="True"
                        AllowSorting="True" TableLayout="Auto" CssClass="fSelectable" OverrideDataSourceControlSorting="true"
                        CommandItemDisplay="Top">
                        <CommandItemTemplate>
                            <telerik:RadButton ID="btnAdd" runat="server" AutoPostBack="false" OnClientClicked="NewSellingSubject">
                                <Icon PrimaryIconUrl="~/images/Add.gif" PrimaryIconLeft="5px" />
                            </telerik:RadButton>
                            <telerik:RadButton ID="btnDelete" runat="server" CommandName="DeleteCMD" OnClientClicking="AlertDelete">
                                <Icon PrimaryIconUrl="~/images/delete.gif" PrimaryIconLeft="5px" />
                            </telerik:RadButton>
                        </CommandItemTemplate>
                        <Columns>
                            <telerik:GridBoundColumn DataField="Id" DataType="System.Int32" ItemStyle-CssClass="fId"
                                SortExpression="Id" />
                            <telerik:GridBoundColumn DataField="Name" HeaderText="Name" ItemStyle-CssClass="fName"
                                SortExpression="Name" DataType="System.String" UniqueName="Name" CurrentFilterFunction="StartsWith"
                                AutoPostBackOnFilter="true" FilterDelay="801" FilterControlWidth="100%" ShowFilterIcon="false" />
                        </Columns>
                        <SortExpressions>
                            <telerik:GridSortExpression FieldName="Id" SortOrder="Descending" />
                        </SortExpressions>
                    </MasterTableView>
                    <FilterMenu EnableImageSprites="False" />
                    <GroupingSettings CaseSensitive="false" />
                    <ClientSettings AllowRowsDragDrop="True" AllowColumnsReorder="true" ReorderColumnsOnClient="true">
                        <Resizing AllowColumnResize="true" />
                        <Selecting AllowRowSelect="True" EnableDragToSelectRows="false" />
                        <Scrolling AllowScroll="true" UseStaticHeaders="true" />
                    </ClientSettings>
                    <PagerStyle Mode="NextPrevAndNumeric" AlwaysVisible="true"></PagerStyle>
                </telerik:RadGrid>
                <asp:ObjectDataSource ID="gridData" runat="server" TypeName="Vits.Modules.VipCrm.Dal.Admin.DaoSellingSubjects"
                    SelectMethod="GetAll" />
            </asp:Panel>
        </telerik:RadAjaxPanel>
    </telerik:RadPane>
    <telerik:RadSplitBar ID="spliteBar" runat="server" CollapseMode="Both" />
    <telerik:RadPane ID="rpDetails" runat="server">
        <telerik:RadAjaxPanel ID="raxDetails" runat="server" LoadingPanelID="ralPanel" ClientEvents-OnResponseEnd="ShowDetails">
            <vits:SellingSubjectsBasic ID="sellingSubjectsBasic" runat="server" Visible="true" />
        </telerik:RadAjaxPanel>
    </telerik:RadPane>
</telerik:RadSplitter>

Details:
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SellingSubjectsBasic.ascx.cs"
    Inherits="Vits.Modules.VipCrm.Controls.Admin.SellingSubjectsBasic" %>
<%@ Register TagPrefix="dnn" TagName="Label" Src="~/controls/LabelControl.ascx" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<asp:Panel ID="panDetails" runat="server" OnLoad="panDetails_Load">
    <div class="divDetails" style="display: none">
        <a href="#" class="selected" onclick="__doPostBack('<%= panDetails.ClientID %>', '');">
        </a>
        <asp:HiddenField ID="hdCmd" runat="server" />
        <asp:HiddenField ID="hdId" runat="server" />
        <div class="divDetailsHead NoMenu fDetHead">
            <asp:Label ID="lblItemName" runat="server" />
        </div>
        <div class="fEditCommand">
            <telerik:RadButton ID="btnEdit" runat="server" AutoPostBack="false" OnClientClicked="EditDetails">
                <Icon PrimaryIconUrl="~/images/edit_pen.gif" PrimaryIconLeft="5px" />
            </telerik:RadButton>
        </div>
        <table class="VitsDetails">
            <tr>
                <td>
                    <dnn:label id="lblName" runat="server" controlname="lblName" />
                </td>
                <td>
                    <asp:TextBox ID="txtName" CssClass="NormalTextBox fEdit fName NotAllowed" runat="server" />
                    <asp:RequiredFieldValidator ID="rfvName" ControlToValidate="txtName" Display="Dynamic"
                        CssClass="dnnFormMessage dnnFormError" runat="server" ErrorMessage="*"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    <dnn:label id="lblDescription" runat="server" controlname="lblDescription" />
                </td>
                <td>
                    <asp:TextBox ID="txtDescription" CssClass="NormalTextBox fEdit Wider NotAllowed" runat="server"
                        TextMode="MultiLine" />
                </td>
            </tr>
        </table>
        <table class="fCommand Commands Hidden">
            <tr>
                <td>
                    <telerik:RadButton ID="btnSave" runat="server" AutoPostBack="false" OnClientClicked="SubmitAll">
                        <Icon PrimaryIconUrl="~/images/save.gif" PrimaryIconLeft="5px" />
                    </telerik:RadButton>
                </td>
                <td>
                    <telerik:RadButton ID="btnCancel" runat="server" CausesValidation="false" OnClick="btnCancel_Click">
                        <Icon PrimaryIconUrl="~/images/cancel.gif" PrimaryIconLeft="5px" />
                    </telerik:RadButton>
                </td>
            </tr>
        </table>
    </div>
</asp:Panel>


Thank you,

Kristijan

Kristijan
Top achievements
Rank 1
 answered on 02 Sep 2011
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?