Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
244 views
I have a page that I need to process the "Enter" key to perform a specific function based on the srcElement.  I have set all of the buttons on the page to not user default submit behavior to prevent them from clicking with the enter key.  However the grid sort icon renders as an input type=submit.  This is click when I press the enter key.

Is there a way to have the sort icon to not render as a submit type?
Dimo
Telerik team
 answered on 05 Jan 2010
1 answer
95 views
Hi,

Is it possible to change text "loading" in Rad AjaxLoadingPanel loading image.
I am using image "Loading.gif". In this image i want the circle with the changes in text "loading".
Please help ASAP.

Regards
Jyoti
Hus Damen
Top achievements
Rank 1
 answered on 05 Jan 2010
4 answers
458 views
I have a radeditor that is in a user control that is used as the form for a radgrid....

so, when i am in edit mode (popup and modal) the form and the editor appear correctly.. however, when i press the fullscreen icon in the editor, it goes fullscreen behind the modal screen...

how can I remedy this?

thanks!

pic 1

pic 2
Rumen
Telerik team
 answered on 05 Jan 2010
7 answers
167 views
Hello,

I am in search for a forum control providing standart functionnalities (like this one).
I spent hours on codeplex but found nothing serious.
I also tryed YAF but it suffers from 2 points: not stable version, incredible license.

As I am not using MVC, I won't start with it before some years.

So I would appreciate Telerik to instroduce a new 'RadForum' control in next version.
Seems that everything is already here.

Same request for 'RadBlog' but less urgent, here I am looking for the featured enhancing last 'bloged' subjects just as in MS Blogs.

Thanks you for attention.

CS
Sebastian
Telerik team
 answered on 05 Jan 2010
2 answers
675 views
Hi,

I followed the instructions in the link http://www.telerik.com/help/aspnet/grid/grdvalidation.html but can not get a required validator to work.  I am using a form (rather than InPlace editing).  I am using a RadAjaxManager that is added at runtime-don't know if this would have an affect on this.  The message does not display next to the control I am validating, when I click the Update link in the form, it posts back to the server and re-displays the record before I modified the data (like remove the city to test the validator).  Here's the grid html snippet:

<telerik:RadGrid ID="RadGridCageCode" runat="server" AllowFilteringByColumn="False"AllowPaging="True" AllowSorting="True" GridLines="None" Skin="Vista" EnableAJAX="True" width="60%" AllowAutomaticDeletes="True"AllowAutomaticInserts="True" AllowAutomaticUpdates="True" OnItemCommand="RadGridCageCodeLookup_ItemCommand"DataSourceID="ObjectDataSourceCageCode" PagerStyle-Mode="NextPrevNumericAndAdvanced"OnItemDeleted="RadGridCageCodeLookup_ItemDeleted" OnItemDataBound="RadGridCageCodeLookup_ItemDataBound"OnDeleteCommand="RadGridCageCodeLookup_DeleteCommand" OnItemInserted="RadGridCageCodeLookup_ItemInserted"
OnInit="RadGridCageCodeLookup_Init" OnColumnCreated="RadGridCageCodeLookup_ColumnCreated" OnInsertCommand="RadGridCageCodeLookup_InsertCommand"
OnItemUpdated="RadGridCageCodeLookup_ItemUpdated" OnUpdateCommand="RadGridCageCodeLookup_UpdateCommand" onitemcreated="RadGridCageCodeLookup_ItemCreated" >

<ClientSettings >
<Scrolling AllowScroll="True" UseStaticHeaders="True" />
</ClientSettings>

<PagerStyle Mode="NextPrevNumericAndAdvanced"></PagerStyle>
<MasterTableView AllowMultiColumnSorting="True" PageSize="15" CommandItemDisplay="TopAndBottom"AutoGenerateColumns="False" DataKeyNames="CageCodeID" DataSourceID="ObjectDataSourceCageCode">

<RowIndicatorColumn Visible="False">
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>

<ExpandCollapseColumn Visible="False" Resizable="False">
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>

<Columns>

<telerik:GridEditCommandColumn ButtonType="ImageButton" UpdateImageUrl="~\RadControls\Skins\Vista\Grid\Update.gif" EditImageUrl="~\RadControls\Skins\Vista\Grid\Edit.gif" InsertImageUrl="~\RadControls\Skins\Vista\Grid\AddRecord.gif" CancelImageUrl="~\RadControls\Skins\Vista\Grid\Cancel.gif"
UniqueName="EditCommandColumn">
</telerik:GridEditCommandColumn>
<telerik:GridBoundColumn DataField="CageCodeID" DataType="System.Int32" HeaderText="CageCodeID" ReadOnly="True" SortExpression="ID" UniqueName="CageCodeID" Visible="false">
</telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="ManufacturerID" DataType="System.Int32" HeaderText="Mfg ID" SortExpression="ManufacturerID" UniqueName="ManufacturerID" visible="false" >
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="CageCode" HeaderText="Cage Code" SortExpression="CageCode" UniqueName="CageCode" >
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Address" HeaderText="Address" SortExpression="Address" UniqueName="Address">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Address2" HeaderText="Address 2" SortExpression="Address2" UniqueName="Address2" ConvertEmptyStringToNull="false" >
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="City" HeaderText="City" SortExpression="City" UniqueName="City"></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Province" HeaderText="State" SortExpression="Province" UniqueName="State">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Zip" HeaderText="Zip Code" SortExpression="Zip" UniqueName="Zip" DataFormatString="{0:#####-0000}" ></telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Phone" HeaderText="Phone Number" SortExpression="Phone" UniqueName="Phone">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Country" HeaderText="Country" SortExpression="Country" UniqueName="Country">
</telerik:GridBoundColumn>

<
telerik:GridButtonColumn ConfirmText="Are you sure you want to delete this record?" ButtonType="ImageButton" ImageUrl="~\RadControls\Skins\Vista\Grid\Delete.gif" CommandName="Delete" Text="Delete" UniqueName="DeleteColumn">
<HeaderStyle Width="20px" />
</telerik:GridButtonColumn>

</Columns>
</MasterTableView>
<ClientSettings>
<Selecting AllowRowSelect="false" />
</ClientSettings>

</telerik:RadGrid>

And the code behind to add the validator

protected void RadGridCageCodeLookup_ItemCreated(object sender, GridItemEventArgs e)

{

if (e.Item is GridEditableItem && e.Item.IsInEditMode)
{
    
GridEditableItem itemAddress = e.Item as GridEditableItem;
GridTextBoxColumnEditor editor = (GridTextBoxColumnEditor)itemAddress.EditManager.GetColumnEditor("City");
TableCell cell = (TableCell)editor.TextBoxControl.Parent;
RequiredFieldValidator validator = new RequiredFieldValidator();
editor.TextBoxControl.ID =
"address_req_val";
validator.ControlToValidate = editor.TextBoxControl.ID;
validator.ErrorMessage =
"Required";
validator.ID =
"valAddress";
validator.EnableClientScript =
true;
validator.Text =
"REQUIRED!";
validator.Enabled =
true;
validator.EnableViewState =
true;
cell.Controls.Add(validator);

}

}

Tonino
Top achievements
Rank 1
 answered on 05 Jan 2010
6 answers
224 views
Hi All;

I'm using RadListbox on couple of pages they all look & work fine on all IE7 & IE8 but when i open the same page in IE6 the listbox buttons are hidden behind the list..
Does any one know why this is happening or does any one to a work around for this. 


Regards;

Zeeshan Ahmed Khan
RNA Pharmacy Solutions
Phone: 1 (214) 736-4719
Zeeshan Ahmed Khan
Top achievements
Rank 1
 answered on 05 Jan 2010
2 answers
113 views
Hello!

I need my users to enter a title for a document. I am using the RadEditor as the input control for this value.

When the value is rendered on our website, it is wrapped in a hyperlink tag (<a>) and a style is applied to it which gives it a font of Arial.

However, when the users run the editor window, the text they enter is showing a font of Times New Roman. This is making them cry.

I tried setting the RadEditor.CssClass to ".arialstyle" and the ContentAreaCssFile points to the stylesheet containing this:

a, a:link, a:visited, .arialstyle
{
    font-family: Arial, Helvetica, Sans-Serif;
    color: #900;
    font-size: 10pt;
    font-weight: normal;
    text-decoration: none;
}

However when the page loads and I start typing in the editor, it's still in Times New Roman. Again, this is making them cry tears of hot rage which splash upon my brow and scald my tender skin. Please assist.

Rumen
Telerik team
 answered on 05 Jan 2010
1 answer
95 views

i used RadFileExplorer in Sharepoint 2007 as a webpart. but it seem that have some layou issue.

i attached an image from it.

Fiko
Telerik team
 answered on 05 Jan 2010
6 answers
233 views
Quick question.

Is the base style sheet used when creating a custom skin? Or can it be?

Thanks,
Mark.
Veselin Vasilev
Telerik team
 answered on 05 Jan 2010
1 answer
122 views
hi
  RequiredFieldValidator validator = new RequiredFieldValidator();
                editor.TextBoxControl.ID = "GridTextBoxRoleName";
                validator.ControlToValidate = editor.TextBoxControl.ID;
                validator.ErrorMessage = "Enter Role Name";
                validator.SetFocusOnError = true;
               cell.Controls.Add(validator);

but i want to popup insted of writing in inline how can i do i m writing this code in grid1_ItemCreated(object sender, GridItemEventArgs e)


thank you
Princy
Top achievements
Rank 2
 answered on 05 Jan 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?