Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
185 views
Hi,
I'm developing my page using RadGrid with the layout as shown in this ListView/DataListView example. Additionally, I'd like to add my custom control (an aggregate of several RadTextBox, RadListBox, and RadDate as well as Button, which will add a new row to my grid on clicked) as a footer item of my RadGrid, declaratively. How do I do that?

Thanks!
Vien
Vien
Top achievements
Rank 1
 answered on 03 Mar 2010
3 answers
154 views
I see mention of this functionality in places, however i can not seem to get it to work correctly.

I want the sliding pane to automatically scroll up or down when drag-dropping tree nodes.

I've tried various comboniations of persistscrollproperties and scrolling on the slidingpane, obviously with various incorrect assumptions. What could i be missing?

Thanks for your help.


 

 

<telerik:RadSlidingPane ID="TreePane" Title="Workflow" runat="server" Width="300px"  DockOnOpen="True" BorderWidth="3px" BorderStyle="Solid" EnableEmbeddedBaseStylesheet="False"  Height="100%">  
<telerik:RadTreeView ID="rtvRadTreeView1" runat="server" EnableDragAndDrop="True" EnableDragAndDropBetweenNodes="True"   OnClientContextMenuItemClicking="ClientNodeClicking" OnClientNodeClicking="ClientNodeClicking" clientNodeCollapsed="ClientNodeCollapsed" OnClientNodeExpanded="ClientNodeExpanded"  OnClientNodeClicked="OnClientNodeClicked_ClientNodeClicked" OnClientContextMenuItemClicked="rtvRadTreeView1_OnClientContextMenuItemClicked" PersistLoadOnDemandNodes="False" ShowLineImages="False" DataSourceID="dsTree"  DataFieldParentID="ParentID" DataFieldID="pk" DataValueField="pk" DataTextField="Title"  OnClientLoad="rtvRadTreeView1_OnClientLoad" >

 

 

 

 

 

 

 

 

 

 

 

 

 

Yana
Telerik team
 answered on 03 Mar 2010
2 answers
175 views
Hi,

I am using the GridSettingsPersister with AutoLoad of the contents.
I want grid settings to work this way for the user.

1. 1rst time: The user's default settings are loaded.
2. If the user has changed his settings (from his defaults), leaves the page and returns, his last settings should be in effect
3. The user can always save or load his settings for the grid.

Having tried all(?) the server site grid events ( "ColumnCreated" looks like the one to use - rewrote the GridSettingsPersister to get values pr. column HeaderText for this), I cannot get the column order to take effect - column width is set ok but the order setting only take effect when I explicitly Ajax load the saved settings and then the order only takes effect after I make another  Ajax call that changes the contents of the grid. For 1. and 2. above , Ajax is not used (intial load of the page)  but the order never takes effect.
The Debugger shows the right order values being set - the correct order is just not shown on the screen.

Is this there a way around this or is this intrinsinct to the design when using autoload?

(If you read the original GridSettingPerister author's comments, he also states that he could not get it to work with autoloaded contents, but suggested trying ColumnCreated)
EnableViewState fale or true has no effect on this.

Correction:
Adding his to _PreRender makes the Ajax Loading of usersettings happen at once, the rest is the same:

SupportItemGrid1.DataSource =

null;

 

SupportItemGrid1.Rebind();



Best Regards

Gunnar Skogen


Gunnar Skogen
Top achievements
Rank 1
 answered on 03 Mar 2010
2 answers
105 views
We recently updated to RadControls for ASP.NET AJAX Q3 2009 and we're now getting an error when click on the Table Wizard link on the editor.

Any ideas or something we're missing with the latest Q3 release?

Here is a portion of the exception:
InnerException: {"The ToolName property must be set!"} System.Exception {System.ArgumentException}
Message: "Exception of type 'System.Web.HttpUnhandledException' was thrown." string

Thanks!
Allen

Allen Smothers
Top achievements
Rank 2
 answered on 03 Mar 2010
1 answer
116 views
Hello,

For the project I'm currently working on I need to show the subject and underneath the description.
I have looked at your examples and I have done it this way :
        <AppointmentTemplate> 
            <label id="lblAppointmentSubject" runat="server"> 
                <%# Eval("Subject") %> 
            </label>   
            <br /> 
            <label id="lblAppointmentDescription" runat="server"> 
                <%# Eval("Description") %> 
            </label> 
        </AppointmentTemplate> 
 

(I know the labels aren't necessary but I tried to align it).
This works fine but the things is I want different appointment information in different views.
Like say this is for the dayview but for the weekview I would only need the subject to show.
How can I manage that since there is no if/else in ASP.NET.
Maybe in the code behind??

Also another question :
is it possible to show subject and underneath it description aligned to the left.
and in the right upper corner some other info like the creator or owner or something like that?
Or align the subject to the middle?

Byee Vishaal

P.S. Your examples only show asp.net with code behind like databinding. Maybe its usefull to show some code behind like how to use a sql query and/or insert an appointment from code behind.
Peter
Telerik team
 answered on 03 Mar 2010
6 answers
158 views
hi
i have a userControl page for my radGrid.when i click on edit ,userControl form open in butom of page and
worke with it is hard.until manualy move window. iwant to adjust position of userControl Page.

and one other problem : when click edit button and  open userControl, radGrid  bollix. ... see  attached pic. 1=befor open      2 =after open.
Mohammadreza reiazi
Top achievements
Rank 1
 answered on 03 Mar 2010
5 answers
278 views
How to disable each time slot in the scheduler in week view, I tried to disable it for a day, but the header only gets disabled. Not the time slot.
For eg:
I would like to disable all the time Slot of day which is sunday in week view. How do i do it.
Peter
Telerik team
 answered on 03 Mar 2010
3 answers
831 views
Hello,
one of the steps is to set the directory 'App_GlobalResources' to include the resource file 'RadSpell.Dialog.resx'.
this is the error message I get when I try to run my application:
"The directory '/App_GlobalResources/' is not allowed because the application is precompiled"
what should I do?

best regards,
Gil.
Rumen
Telerik team
 answered on 03 Mar 2010
2 answers
435 views
I am using Telerik Rad Controls 2008 Q3 in my bussiness. In an application I need to copy the selected date of a RadDatePicker to another. I can access the objects with thie client side ID's. But the problem is I do not have a clien-side event to handle this process. Currently the RadDatePicker has only OnPopUpOpening, OnPopUpClosing and  OnDateSelected event of which OnDateSelected is the only useful one. I can catch the date whenever it is typed manually with client-side "onchange" event. But I want to access the value whenever the user selectes the date via the monthly view. But "OnDateSelected" event fires before the value is set to textbox of the calendar.

So, how can I copy the context on a Calendar-Text Box when the value is set by using the pop-up calendar?

Regards.
Utku Ozan
Top achievements
Rank 1
 answered on 03 Mar 2010
2 answers
101 views
Hi

I am using The RadGrid to add,edit,Delete the Employee detail (In line Edit mode).
I have two drop down column Country,State.
In Edit or ADD mode
When i selected the Country depends on the Country selected  i need to populate the State Drop down.
How can i achieve this.Which Event I need to handle.


Regards
Vairamtuhu

vairam
Top achievements
Rank 1
 answered on 03 Mar 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?