Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
123 views
I try to replace the navigation image like this:

NavigationNextImage

 

="./res/cal_btn_next.gif" NavigationPrevImage="./res/cal_btn_prev.gif"

 

FastNavigationNextText

 

="" FastNavigationPrevText=""

 


But it does not work. It displays an icon (not the image I specified) and a "<" for the previous, and an icon and a ">" for the next.
How to do it correctly?

Thanks for help!

Joseph

SamJ
Top achievements
Rank 1
 answered on 01 Jul 2010
1 answer
154 views
Hi Guys, i need your help to resolve this plzzzzz helpppp mmmeeeee
when student check the button it should empty the DatePicker value to null.... i should do on client SIde.....
In the Below code trying find RadDatePicker(ID:studentJoiningDate)  on client Side. I  am unable to find out the control
Plzzzzzzz help me guyz...........
Thanks,
Jon

<

 

div>

 

 

 

 

 

<telerik:RadGrid

 

 

 

ID="RadGrid1"

 

 

 

runat="server"

 

 

 

AllowSorting="True"

 

 

 

AutoGenerateColumns="False"

 

 

 

AllowFilteringByColumn="True"

 

 

 

ShowFooter="True"

 

 

 

ShowGroupPanel="false"

 

 

 

Width="960px"

 

 

 

BorderColor="#999999"

 

 

 

BorderWidth="1px"

 

 

 

GridLines="None"

 

 

 

AllowPaging="true"

 

 

 

PageSize="20"

 

 

 

Height="800px"

 

 

 

onneeddatasource="RadGrid1_NeedDataSource"

 

 

 

onitemdatabound="RadGrid1_ItemDataBound"

 

 

 

onitemcommand="RadGrid1_ItemCommand"

 

 

 

Skin="Outlook"

 

 

 

>

 

 

 

<FooterStyle BorderStyle="None" />

 

 

 

<MasterTableView EditMode="PopUp" ShowGroupFooter="true" DataKeyNames="Student_id" HierarchyDefaultExpanded="true"

 

 

 

CommandItemDisplay="TopAndBottom" >

 

 

 

<NoRecordsTemplate>

 

 

 

<div style="padding: 10px; font-weight: bold; font-size: 14px; color: #ff0000; text-align: center">There are no Students available</div>

 

 

 

</NoRecordsTemplate>

 

 

 

<Columns>

 

 

 

<telerik:GridEditCommandColumn>

 

 

 

<HeaderStyle Width="50px" />

 

 

 

</telerik:GridEditCommandColumn>

 

 

 

<telerik:GridBoundColumn

 

 

 

DataField="Student_id"

 

 

 

HeaderText="Student ID"

 

 

 

UniqueName="Student_id"

 

 

 

SortExpression="Student_id"

 

 

 

AutoPostBackOnFilter="true"

 

 

 

CurrentFilterFunction="StartsWith"

 

 

 

ShowFilterIcon="false">

 

 

 

<HeaderStyle Width="100px"/>

 

 

 

</telerik:GridBoundColumn>

 

 

 

<telerik:GridBoundColumn

 

 

 

HeaderText="Name"

 

 

 

UniqueName="Name"

 

 

 

DataField="name"

 

 

 

SortExpression="Name"

 

 

 

AutoPostBackOnFilter="true"

 

 

 

CurrentFilterFunction="StartsWith"

 

 

 

ShowFilterIcon="false">

 

 

 

<HeaderStyle Width="200px"/>

 

 

 

</telerik:GridBoundColumn>

 

 

 

<telerik:GridBoundColumn

 

 

 

HeaderText="Size"

 

 

 

DataField="size"

 

 

 

UniqueName="size"

 

 

 

SortExpression="size"

 

 

 

AutoPostBackOnFilter="true"

 

 

 

CurrentFilterFunction="StartsWith"

 

 

 

ShowFilterIcon="false">

 

 

 

<HeaderStyle Width="100px"/>

 

 

 

</telerik:GridBoundColumn>

 

 

 

</Columns>

 

 

 

<EditFormSettings

 

 

 

EditFormType="Template"

 

 

 

InsertCaption="Add new Item"

 

 

 

CaptionFormatString="Edit Student_id:{0}"

 

 

 

CaptionDataField="Student_id"

 

 

 

FormStyle-Height="700px"

 

 

 

FormStyle-Width="700px"

 

 

 

PopUpSettings-Modal="true"

 

 

 

>

 

<

 

 

EditColumn UniqueName="EditCommandColumn1"></EditColumn>

 

<

 

 

FormStyle Height="700px" Width="700px"></FormStyle>

 

 

 

<FormTemplate>

 

 

 

 

<table id="Table2" cellspacing="1" cellpadding="1" width="400" border="0">

 

 

 

<tr>

 

 

 

<td>

 

 

 

</td>

 

 

 

<td>

 

 

 

</td>

 

 

 

</tr>

 

 

 

<tr>

 

 

 

<td>

 

 

Student ID:

 

</td>

 

 

 

<td>

 

 

 

<asp:Label ID="StudentIDLabel" Text='<%# Bind("Student_id") %>' runat="server" Width="200px">

 

 

 

</asp:Label>

 

 

 

</td>

 

 

 

</tr>

 

 

 

<tr>

 

 

 

<td>

 

 

Name:

 

</td>

 

 

 

<td>

 

 

 

<asp:TextBox ID="StudentNameTextBox" runat="server" Text='<%#Bind("name") %>' Width="200px">

 

 

 

</asp:TextBox>

 

 

 

</td>

 

 

 

</tr>

 

 

 

<tr>

 

 

 

<td>Size:</td>

 

 

 

<td>

 

 

 

<asp:TextBox ID="StudentSizeTB" runat="server" Text='<%#Bind("size") %>' Width="200px">

 

 

 

</asp:TextBox>

 

 

 

</td>

 

 

 

</tr>

 

 

 

<tr>

 

 

 

<td>Joining Date:</td>

 

 

 

<td>

 

 

 

<telerik:RadDatePicker ID="studentJoiningDate" runat="server" Width="200px">

 

 

 

</telerik:RadDatePicker>

 

 

 

<asp:CheckBox ID="studentChk" runat="server" OnClick="chkfunction();" />

 

 

 

</td>

 

 

 

</tr>

 

 

 

</table>

 

 

 

<table style="width: 100%">

 

 

 

<tr>

 

 

 

<td align="right" colspan="2">

 

 

 

<asp:Button ID="Button3" Text='<%# (Container is GridEditFormInsertItem) ? "Insert" : "Update" %>'

 

 

 

runat="server" CommandName='<%# (Container is GridEditFormInsertItem) ? "PerformInsert" : "Update" %>'>

 

 

 

</asp:Button>&nbsp;

 

 

 

<asp:Button ID="Button4" Text="Cancel" runat="server" CausesValidation="False" CommandName="Cancel">

 

 

 

</asp:Button>

 

 

 

</td>

 

 

 

</tr>

 

 

 

</table>

 

 

 

</FormTemplate>

 

 

 

<PopUpSettings Modal="True"></PopUpSettings>

 

 

 

</EditFormSettings>

 

 

 

</MasterTableView>

 

 

 

 

<ClientSettings AllowColumnsReorder="True" AllowDragToGroup="True">

 

 

 

<Scrolling AllowScroll="true" UseStaticHeaders="true" SaveScrollPosition="true" FrozenColumnsCount="1" />

 

 

 

<ClientEvents/>

 

 

 

</ClientSettings>

 

 

 

<FilterMenu BorderStyle="None"></FilterMenu>

 

 

 

</telerik:RadGrid>

 

 

 

 

</div>

 

 

Tsvetoslav
Telerik team
 answered on 01 Jul 2010
1 answer
133 views
When I put my rotator inside a div with dir="rtl" the rotator diseappears in IE 7.0 while it appears and workes correctly in IE8. And when i change the direction to "ltr" it works on all browsers.
Is that a bug?or do i need to add something else to make it work?
 I really need to make the items displayed in the rotator to start from right to left. Any ideas!
Fiko
Telerik team
 answered on 01 Jul 2010
1 answer
242 views
Hello all,

Does anyone know if there is an example or demo that puts together all of the pieces of user management (authorization, authentication, etc...); I am using SQL Server.  I am working on an asp.net scheduling application and would really like to NOT have to develop the login piece of this.

Any help is greatly appreciated.

Kevin Evers
Fiko
Telerik team
 answered on 01 Jul 2010
4 answers
117 views
Is it possible to remeber the interaction the user made with the grid?  For example, if a user expands a column width, re-orders the columns I would like to save this information.  When they next visit the page I would retrieve this information (stored in a DB) and redraw the grid as it was.

1) I would like to save on every time the user interacts with the grid, which implies I need to get the column widths of all columns and the order of all the columns.

2) If possible I would also like to do this with the grouping.

The main issues I have with both points is finding out the current settings of the gird.  Any help with this would be much appreciated!
Veli
Telerik team
 answered on 01 Jul 2010
1 answer
170 views
Have a rad combobox in  rad grid.
the combobox has got checkboxes which i need to validate .

on the click of checkbox i need to get the id of rad combo.

getting error 'this control does not exist in the current context

Princy
Top achievements
Rank 2
 answered on 01 Jul 2010
1 answer
185 views
Hi,

   I feel like the rad grid taking more to load than the .net grid view.  Is there any way i can make it running faster.


Shinu
Top achievements
Rank 2
 answered on 01 Jul 2010
5 answers
314 views

void rdItemsGrid_ItemCommand(object source, GridCommandEventArgs e)

{

if (e.CommandName == "UpdateAll")

{

foreach (GridDataItem editedItem in rdItemsGrid.EditItems)

{

if (editedItem.EditFormItem.IsInEditMode)

UpdateItemPermission(editedItem.EditFormItem);

}

rdItemsGrid.Rebind();

}

else if (e.CommandName == "Update")
{
if (e.Item.IsInEditMode)
UpdateItemPermission(e.Item
as GridEditableItem);
rdItemsGrid.Rebind();
}
}

The Rebind() method which is used in Update All block works fine. But when i call the Rebind method in the Update block, which is highlighted in red, I get the following Error.

DataBinding: ' System.Data.DataRowView' does not contain a property with the name '....'

Description: An unhandled exception occured during the execution of the current web reequest.Please review the stack trace for more information about the error and from where it originated in the code.

Exception details: System.Web.HttpException :DataBinding: ' System.Data.DataRowView' does not contain a property with the name '....

Can you kindly help me in solving this issue.

Joe
Top achievements
Rank 1
 answered on 01 Jul 2010
3 answers
136 views

 

 

* Hi there,

* I am in very serious issue with Telerik grid.

* here is an issue

* i am using telerik rad grid with Edit popup.

* In Edit popup i am using PopUpSettings-Modal="true"

* in the formeditsettings. And also allwoing Radgrid to Grouping

* And the columns on the grid should be editable.

*

* Now Issue is:

* I am doing groupby on ID and trying to edit. when i did this

* it completely frozes both Rad Grid and EditFormPopup. So nothing

* editable.

please let me know if you anyone came accross this situation

 

Thanks, R






<

 

telerik:RadGrid

 

 

ID="RadGrid1"

 

 

runat="server"

 

 

AllowSorting="True"

 

 

AutoGenerateColumns="False"

 

 

AllowFilteringByColumn="True"

 

 

ShowFooter="True"

 

 

ShowGroupPanel="false"

 

 

Width="960px"

 

 

BorderColor="#999999"

 

 

BorderWidth="1px"

 

 

GridLines="None"

 

 

AllowPaging="true"

 

 

PageSize="20"

 

 

Height="800px"

 

 

onneeddatasource="RadGrid1_NeedDataSource"

 

 

onitemdatabound="RadGrid1_ItemDataBound"

 

 

onitemcommand="RadGrid1_ItemCommand"

 

 

Skin="Outlook"

 

 

>

 

 

<FooterStyle BorderStyle="None" />

 

 

<MasterTableView EditMode="PopUp" ShowGroupFooter="true" DataKeyNames="Student_id" HierarchyDefaultExpanded="true"

 

 

CommandItemDisplay="TopAndBottom" >

 

 

<NoRecordsTemplate>

 

 

<div style="padding: 10px; font-weight: bold; font-size: 14px; color: #ff0000; text-align: center">There are no Students available</div>

 

 

</NoRecordsTemplate>

 

 

<Columns>

 

 

<telerik:GridEditCommandColumn>

 

 

<HeaderStyle Width="50px" />

 

 

</telerik:GridEditCommandColumn>

 

 

<telerik:GridBoundColumn

 

 

DataField="Student_id"

 

 

HeaderText="Student ID"

 

 

UniqueName="Student_id"

 

 

SortExpression="Student_id"

 

 

AutoPostBackOnFilter="true"

 

 

CurrentFilterFunction="StartsWith"

 

 

ShowFilterIcon="false">

 

 

<HeaderStyle Width="100px"/>

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn

 

 

HeaderText="Name"

 

 

UniqueName="Name"

 

 

DataField="name"

 

 

SortExpression="Name"

 

 

AutoPostBackOnFilter="true"

 

 

CurrentFilterFunction="StartsWith"

 

 

ShowFilterIcon="false">

 

 

<HeaderStyle Width="200px"/>

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn

 

 

HeaderText="Size"

 

 

DataField="size"

 

 

UniqueName="size"

 

 

SortExpression="size"

 

 

AutoPostBackOnFilter="true"

 

 

CurrentFilterFunction="StartsWith"

 

 

ShowFilterIcon="false">

 

 

<HeaderStyle Width="100px"/>

 

 

</telerik:GridBoundColumn>

 

 

</Columns>

 

 

<EditFormSettings

 

 

EditFormType="Template"

 

 

InsertCaption="Add new Item"

 

 

CaptionFormatString="Edit Student_id:{0}"

 

 

CaptionDataField="Student_id"

 

 

FormStyle-Height="700px"

 

 

FormStyle-Width="700px"

 

 

PopUpSettings-Modal="true"

 

 

>

 

<

 

EditColumn UniqueName="EditCommandColumn1"></EditColumn>

 

<

 

FormStyle Height="700px" Width="700px"></FormStyle>

 

 

<FormTemplate>

 

 

 

<table id="Table2" cellspacing="1" cellpadding="1" width="400" border="0">

 

 

<tr>

 

 

<td>

 

 

</td>

 

 

<td>

 

 

</td>

 

 

</tr>

 

 

<tr>

 

 

<td>

 

Student ID:

 

</td>

 

 

<td>

 

 

<asp:Label ID="StudentIDLabel" Text='<%# Bind("Student_id") %>' runat="server" Width="200px">

 

 

</asp:Label>

 

 

</td>

 

 

</tr>

 

 

<tr>

 

 

<td>

 

Name:

 

</td>

 

 

<td>

 

 

<asp:TextBox ID="StudentNameTextBox" runat="server" Text='<%#Bind("name") %>' Width="200px">

 

 

</asp:TextBox>

 

 

</td>

 

 

</tr>

 

 

<tr>

 

 

<td>Size:</td>

 

 

<td>

 

 

<asp:TextBox ID="StudentSizeTB" runat="server" Text='<%#Bind("size") %>' Width="200px">

 

 

</asp:TextBox>

 

 

</td>

 

 

</tr>

 

 

</table>

 

 

<table style="width: 100%">

 

 

<tr>

 

 

<td align="right" colspan="2">

 

 

<asp:Button ID="Button3" Text='<%# (Container is GridEditFormInsertItem) ? "Insert" : "Update" %>'

 

 

runat="server" CommandName='<%# (Container is GridEditFormInsertItem) ? "PerformInsert" : "Update" %>'>

 

 

</asp:Button>&nbsp;

 

 

<asp:Button ID="Button4" Text="Cancel" runat="server" CausesValidation="False" CommandName="Cancel">

 

 

</asp:Button>

 

 

</td>

 

 

</tr>

 

 

</table>

 

 

</FormTemplate>

 

 

<PopUpSettings Modal="True"></PopUpSettings>

 

 

</EditFormSettings>

 

 

</MasterTableView>

 

 

 

<ClientSettings AllowColumnsReorder="True" AllowDragToGroup="True">

 

 

<Scrolling AllowScroll="true" UseStaticHeaders="true" SaveScrollPosition="true" FrozenColumnsCount="1" />

 

 

<ClientEvents/>

 

 

</ClientSettings>

 

 

<FilterMenu BorderStyle="None"></FilterMenu>

 

 

</telerik:RadGrid>

 

 

raju
Top achievements
Rank 1
 answered on 01 Jul 2010
4 answers
206 views
Hey guys

After wasting a lot of time in finding a solution for this issue i´ve decided to start this post here and hopefully you can help me.

First of all i`ve to say that i`m trying to use a RadAjaxLoadingPanel for a user input site with several postback controls.

My solution works in a Master/Child scenario and is set up like follows:

  • There is one main master page
  • There are two nested master pages which are based on the main master page 
  • All other child sites are based on one of these nested master pages 

On my main master page i`m using a RadAjaxManager with following attributes:

<telerik:RadAjaxManager ID="ramMain" 
runat="server" 
        EnableHistory="True"
</telerik:RadAjaxManager> 

On my nested master pages i`m using a RadAjaxManagerProxy in combination with a RadAjaxLoadingPanel to ajaxifying all controls in the content place holders.

As example in my nested master page i want to ajaxify all postback controls in the left navigation column (cphContent_1_1_1_filter) which is updating the content column in the center. The content column (cphContent_1_1_1_content) is also updatet by itself:

    <telerik:RadAjaxManagerProxy ID="rampNestedMaster" runat="server"
    <AjaxSettings > 
        <telerik:AjaxSetting AjaxControlID="cphContent_1_1_1_filter" > 
            <UpdatedControls > 
                <telerik:AjaxUpdatedControl ControlID="cphContent_1_1_1_filter" LoadingPanelID="ralpMain" /> 
                <telerik:AjaxUpdatedControl ControlID="cphContent_1_1_1_content" LoadingPanelID="ralpMain" /> 
            </UpdatedControls> 
        </telerik:AjaxSetting> 
        <telerik:AjaxSetting AjaxControlID="cphContent_1_1_1_content"
            <UpdatedControls> 
                <telerik:AjaxUpdatedControl ControlID="cphContent_1_1_1_content" /> 
            </UpdatedControls> 
        </telerik:AjaxSetting> 
    </AjaxSettings> 
    </telerik:RadAjaxManagerProxy> 

The good news is that the RadAjaxProxy is really ajaxifying the controls in the left navigation column (cphContent_1_1_1_filter) which  is causing the postback and the content in the middle is also been updatet. 

But the RadAjaxLoadingPanel is never shown. At all it`s really curious.

I`ve only got the RadAjaxLoadingPanel to work with a simple RadAjaxPanel around my left navigation column. But with the RadAjaxManagerProxy it doesn`t work at all.

Are there any suggestions out there?

Regards

Chris
Doug Beard
Top achievements
Rank 1
 answered on 01 Jul 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?