Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
97 views
I'm having an unusual problem with telerik panelbar.When ever i run my application the panelbar shrinks automatically and i'm unable to click any item on panelbar.Please check the attached image.Please help.Thanks.
Kate
Telerik team
 answered on 24 Nov 2011
3 answers
118 views
Hi,

    I'm using GridClientDeleteColumn column to delete an entry form the RadGird. User can delete multiple rows clicking (multiple times) delete icon on the RadGrid. How can I access all these deleted entry in the code behind on postback after these deletes?

 Could you please send me complete code of such implementation.

Rajesh
Rajesh
Top achievements
Rank 1
 answered on 24 Nov 2011
1 answer
170 views
Hi,
not sure if this would be possible to do: have a page, two buttons on it. When first button is pressed confirmation dialog is displayed with Yes,No,Cancel. Second button brings confirmation dialog with Yes and No only. Any ideas?
Shinu
Top achievements
Rank 2
 answered on 24 Nov 2011
1 answer
41 views
Hello,

I want to create a break and block time in radscheduler control which no body can't make a appointment.
And I also want to delete that time of break and block from radscheduler control.

I can't do this work. I tell you that this break and block time is come from table and display the data.

I also attach the image  which i mark the circle and name is lunch.


Please help me as soon as possible.

thanks

Best regards

Jiten
Peter
Telerik team
 answered on 24 Nov 2011
7 answers
116 views
Ive created about a dozen options in the combobox build option. All id like to do is get the users selection from that list to be inserted into an existing standard asp textbox.

How do I do this please?
Dimitar Terziev
Telerik team
 answered on 24 Nov 2011
4 answers
228 views
is it possible to create columns on the client side with all the details like header image header text, size and then on clientrowdatabound event assign cell images to each rows, same as we can do it from the code behind?
Veli
Telerik team
 answered on 24 Nov 2011
9 answers
152 views
We currently installed version 5.8.8 of Radeditor for Sharepoint 2007.
We have a large issue with reusable content with in sharepoint.
We have the feature 'html fields radeditor' activated, but it's not working as expected anymore.

Every html we try to put in the 'reusable content'-list is shown as text.
When we use the preview within this list(content preview), html is also shown as text.


Jonas Goderis
Top achievements
Rank 1
 answered on 24 Nov 2011
0 answers
56 views
Hi,

I have a usercontrol which is loaded dynamiclly (Into a panel control) by a webpage and it contains the following controls:
1) RadTextBox and button.
2) Result label.
3) RadGrid (displayes DB retrieved data based on a RadTextBox text using the button event)

The RadGrid contains one GridTemplateColumn which contains a link button. The link button intended to display a value from the RadGrid selected item and display it as the ResultLabel.

The problem is by clicking the link button, its event doesn't fire and the entire user control loads again by he webpage.

Can you please help me to solve this problem.
It is very appreciated to send me a sample code.

Regards,
Bader
Bader
Top achievements
Rank 1
 asked on 24 Nov 2011
1 answer
157 views
Telerik,

Is there any way to dynamically change the columns of a RadGrid when selecting a node from a RadTreeView?

Basically what I have is a number of nodes in a tree view.  When selecting a specific tree view node I want to change the columns in a RadGrid and rebind.

Regards,

Jason
Princy
Top achievements
Rank 2
 answered on 24 Nov 2011
1 answer
78 views

I have a grid in which two columns are linked, ie Project Type Categories and Project Types. On itemcreated I am adding select index changed and when editing it is working fine, however when inserting a new row, the second row does not reflect the changes.

.aspx

 

<

 

telerik:RadGrid ID="rgBenchmarkedHours" Skin="WebBlue" AutoGeneBenchmarkedHourColumns="false" Width="650px" AllowPaging="true" PageSize="10" OnPreRender="rgBenchmarkedHours_PreRender" OnNeedDataSource="rgBenchmarkedHours_NeedDataSource" OnUpdateCommand="rgBenchmarkedHours_UpdateCommand"

 

 

OnInsertCommand="rgBenchmarkedHours_InsertCommand"  OnDeleteCommand="rgBenchmarkedHours_DeleteCommand"

 

 

OnItemCreated="rgBenchmarkedHours_ItemCreated" runat="server">

 

 

 

<PagerStyle AlwaysVisible="true" Mode="Slider"/>

 

 

 

<HeaderStyle HorizontalAlign="Center" />

 

 

 

<ItemStyle HorizontalAlign="Left" />

 

 

 

<AlternatingItemStyle HorizontalAlign="Left" />

 

 

 

<MasterTableView EditMode="InPlace" CommandItemDisplay="Top" CommandItemSettings-AddNewRecordImageUrl="~/images/add.png"

 

 

CommandItemSettings-AddNewRecordText="Add row" AutoGenerateColumns="false" DataKeyNames="BenchmarkedHoursID" >

 

 

 

<Columns>

 

 

 

<telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn" ItemStyle-HorizontalAlign="Center"></telerik:GridEditCommandColumn>

 

 

 

<telerik:GridBoundColumn UniqueName="BenchmarkedHoursID" DataField="BenchmarkedHoursID" HeaderText="BenchmarkedHoursID" ReadOnly="true" Visible="false"></telerik:GridBoundColumn>

 

 

 

<telerik:GridBoundColumn UniqueName="AgencyID" DataField="AgencyID" HeaderText="AgencyID" Visible="false"></telerik:GridBoundColumn>

 

 

 

<telerik:GridDropDownColumn UniqueName="ProjectTypeCategoryID" DataSourceID="ProjectTypeCategoryNameSource" ItemStyle-Width="250px"

 

 

 

DataField="ProjectTypeCategoryID" ListTextField="ProjectTypeCategoryName" ListValueField="ProjectTypeCategoryID" HeaderText="Project Type Category" ReadOnly="false"></telerik:GridDropDownColumn>

 

 

 

<telerik:GridDropDownColumn UniqueName="ProjectTypeNameDesc" DataSourceID="ProjectTypeNameSource" ItemStyle-Width="250px"

 

 

 

DataField="ProjectTypeID" ListTextField="ProjectTypeName" CurrentFilterFunction="EqualTo" CurrentFilterValue="ProjectTypeCategoryID" ListValueField="ProjectTypeID" HeaderText="Project Type">

 

 

 

</telerik:GridDropDownColumn>

 

 

 

<telerik:GridBoundColumn UniqueName="Category" DataField="CategoryName" HeaderText="Category" ReadOnly="true"></telerik:GridBoundColumn>

 

 

 

<telerik:GridBoundColumn UniqueName="EASFunction" DataField="EASFunction" HeaderText="EASFunction" Visible="false"></telerik:GridBoundColumn>

 

 

 

<telerik:GridDropDownColumn UniqueName="EASFunctionDesc" DataSourceID="EASFunctionSource" ItemStyle-Width="250px"

 

 

 

DataField="EASFunction" ListTextField="EASFunctionDesc" ListValueField="EASFunction"

 

 

 

HeaderText="EAS Function"></telerik:GridDropDownColumn>

 

 

 

<telerik:GridNumericColumn UniqueName="BenchmarkedHour" DataField="Hours" HeaderText="Benchmarked Hour" NumericType="Number" ItemStyle-HorizontalAlign="Right"></telerik:GridNumericColumn>

 

 

 

<telerik:GridButtonColumn ConfirmText="Delete this Benchmarked Hour?" ConfirmDialogType="RadWindow"

 

 

 

ConfirmTitle="Delete" ButtonType="ImageButton" CommandName="Delete" Text="Delete"

 

 

 

UniqueName="DeleteColumn">

 

 

 

<ItemStyle HorizontalAlign="Center"/>

 

 

 

</telerik:GridButtonColumn>

 

 

 

</Columns>

 

 

 

</MasterTableView>

 

 

 

</telerik:RadGrid>

 

<

 

asp:SqlDataSource ID="ProjectTypeNameSource" runat="server"

 

 

ConnectionString="<%$ ConnectionStrings:EuroEstimatesConnectionString %>"

 

 

SelectCommand="SELECT PT.[ProjectTypeID], PT.[ProjectTypeName] FROM [ProjectTypes] PT UNION SELECT 0, '- Select Type' ORDER BY PT.[ProjectTypeName]">

 

 

</asp:SqlDataSource>

 

<

 

asp:SqlDataSource ID="ProjectTypeCategoryNameSource" runat="server"

 

 

ConnectionString="<%$ ConnectionStrings:EuroEstimatesConnectionString %>"

 

 

SelectCommand="SELECT [ProjectTypeCategoryID], [ProjectTypeCategoryName] FROM [ProjectTypeCategories] UNION SELECT 0, '- Select Category' ORDER BY [ProjectTypeCategoryName]">

 

 

</asp:SqlDataSource>


.cs

 

protected

 

void rgBenchmarkedHours_ItemCreated(object sender, GridItemEventArgs e)

 

{

 

if (e.Item is GridEditableItem && e.Item.IsInEditMode)

 

{

 

RadComboBox list = (e.Item as GridEditableItem)["ProjectTypeCategoryID"].Controls[0] as RadComboBox;

 

 

list.AutoPostBack =

true;

 

list.SelectedIndexChanged +=

new RadComboBoxSelectedIndexChangedEventHandler(list_SelectedIndexChanged);

 

}

}

 

void list_SelectedIndexChanged(object sender, RadComboBoxSelectedIndexChangedEventArgs e)

 

{

 

GridEditableItem editedItem = (sender as RadComboBox).NamingContainer as GridEditableItem;

 

 

RadComboBox ddList = editedItem["ProjectTypeNameDesc"].Controls[0] as RadComboBox;

 

 

int ptc = int.Parse((editedItem["ProjectTypeCategoryID"].Controls[0] as RadComboBox).SelectedValue);

 

ddList.ClearSelection();

ddList.DataSource = da.GetProjectTypeNameDescription(ptc);

ddList.DataBind();

}



Thank you!

Princy
Top achievements
Rank 2
 answered on 24 Nov 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?