Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
243 views
I've configured a Grid control to use a custom form. Wired up the add/edit/delete on the main Grid just fine. Now I'm interested in inserting a Grid on my custom form.

How do I access the Insert/Update/Delete commands on the 'sub' Grid on my custom form? Also, how do I pass the DataKeyName value to the sub Grid? (this also applies to a ComboBox I'm trying to filter by the datakeyname).

Thanks in advance!
Brandon


Brandon
Top achievements
Rank 1
 answered on 21 Apr 2008
2 answers
144 views
I have a column in the rad grid that has a tracking number, in some cases it is a ups tracking number that can be used in a hyperlink to go to their site and view information. In other cases it is for a differnt shipper and can't be used for any hyperlink. Assuming that I can determine when it is valid for a hyperlink is there a way to conditionally put a hyperlink into a column of the grid?

For example if the grid had 1 column "shipper"

Rows 1 and 2 would have a hyperlink in this column while row 3 would just have text.

Thanks

Bill
wdudek
Top achievements
Rank 1
 answered on 21 Apr 2008
4 answers
179 views

What's the procedure for deploying Telerik controls on DiscountASP.net? I'm using Telerik ASP Q1 2008 (formerly prometheus) and I would like to makesure I'm doing it right.

chowbang
Top achievements
Rank 1
 answered on 21 Apr 2008
2 answers
182 views
Hello!

Is it possible to hide the filter row in my grid when a user clicks "Add new record"?

Also, my Grid stays in Edit mode when I click "Add new record". How do I go about canceling the edit before the Insert form is opened?

I've searched and can't find these answers, thanks for your time in advance!
Brandon
Brandon
Top achievements
Rank 1
 answered on 21 Apr 2008
1 answer
122 views
Hi there,

Firstly, great job on ASP.NET AJAX Dock - it's great! I'm havinng some problems with my page in internet explorer (it works fine in Firefox). I have a gradient background on the page but when i drag a dock, the background 'shrinks' and won't go back. I've posted an example at http://stjosephs.ace-deuce.com/nunspace/default2.aspx

Any ideas? It may be how I've implemented the back image but it's the only way I can get it to appear in all browsers.

Any help would be appreciated!


Sophy
Telerik team
 answered on 21 Apr 2008
8 answers
221 views
Is it possible to change the Feature Scope level to WebApplication or Farm, rather than Site or Web? I have been unable to do so and am wondering if this is a limitation with deploying the RadEditor. Thanks.
George
Telerik team
 answered on 21 Apr 2008
1 answer
112 views
Hi guys,

I found an issue that I would like to comment regarding de raddock control.
I have a raddock with a radcombobox inside. The radcombobox has three items.
Action one, I expanded de radcombobox.
Action two, I picked the raddock control(keeping the radcombobox expanded) and I have moved it to another sector in the page.
What I found was that the div containing the radcombobox items did not change its position as the raddock control did. Instead of this, the div container kept its initial positions in the screen.

Any idea of this?

Thanks in advance,

François.
Svetlina Anati
Telerik team
 answered on 21 Apr 2008
3 answers
198 views
I have a checkboxlist but I only want to apply ajax on one item in the list and the  item in checkbox list is populated when the pageload in c# code behind.
Im using a radajaxmanager and set the checkbox to ajaxified the panel but every time check one of the checkbox it always apply the ajax in the panel which i dont need I only want to happen when a particular item in the checkbox to ajaxified the panel.
Maria Ilieva
Telerik team
 answered on 21 Apr 2008
2 answers
87 views
I am new to this so I am assuming this is something simple (I'm a winform developer who was assigned a web project...)

On a RadAjaxPanel I am trying to add a RadDatePicker control but the DatePopupButton is too big (about 3-4 times bigger than the input box) and I can't seem to resize it.

-George
George
Top achievements
Rank 1
 answered on 21 Apr 2008
1 answer
262 views

Greetings!

I'm developing a little Web application and use the RadDock as my base classes. I override OnPreRender and Render for RadDockZone.

What I'm trying to do is dynamically add the RadDockLayout based on a column structure; I mean, I have a button to add a RadDockLayout to my default ASP.NET page, and I pass a column count, with this I create my RadDockZones. If I pass 2 columns, the RadDockLayout will have 2 RadDockZones. Everything is fine here, the problem comes when I want to add a RadDock to any of my RadDockZones. I use this as guide to my code.

  1. The page is loaded, then I type the Id of the RadDockLayout and asign it a number of columns, then I click the button and create them. The RadDockLayout is inside an UpdatePanel (updater). The zones are shown in the page fine.
  2. I add a RadDock to any zone and when goes to the OnPreRender in my RadDockZone derived class it throws the exception.

When I'm debugging and reach for the overriden OnPreRender in the RadDockZone derived class, in the line of base.OnPreRender( e ),  it throws a System.InvalidOperationException: Script controls may not be registered after PreRender.

Here is some code in the RadDockZone derived class:

protected

override void OnPreRender( EventArgs e )
{
    if ( !DesignMode )
    {
        ScriptManager scriptManager = ScriptManager.GetCurrent( base.Page );

        if
( scriptManager == null )
            
throw new HttpException();

        
scriptManager.RegisterScriptControl( this );
    
}

    base
.OnPreRender( e ); // The exception occurs here, after I add a RadDock.
}

Code in the Default.aspx.cs:

protected

void btnAddRdDockDerived_Click( object sender, EventArgs e )
{
    var rdLayoutDerived = PageState;
    var rdDockDerived= CreateRdDockDerived( txtRddDerivedName.Text );

    rdLayoutDerived.Zones[
0].DocksDerived.Add( widget );
    rdDockDerived.Dock( rdLayoutDerived.Zones[0] );

    CreateSaveStateTrigger( widget );
    PageState = rdLayoutDerived ;
}

protected

override void OnPreRender( EventArgs e )
{
    base.OnPreRender( e );
    
    var
rdLayoutDerived = PageState;

    if
( rdLayoutDerived != null )
    
{
        updater.ContentTemplateContainer.Controls.Add( rdLayoutDerived );
        PageState = rdLayoutDerived ;
    }
}

PageState is a property that saves the RadDockLayout and its children in the session.

I thank to any help that anyone can give me.

Sophy
Telerik team
 answered on 21 Apr 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?