Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
40 views
I try to use multiple selection under Load on Demand modes and I set AutoCompleteSeparator and MarkFirstMatch. 
But it does't work. I just want to know it is possible to get multiple selection under loadonDemand.
Yi
Top achievements
Rank 1
 answered on 07 Nov 2011
1 answer
78 views
I need save radgrid state without Button (as telerik example). Its means, dynamically after user click some options of ContextHeaderMenu, drop ans drag column, change with, etc

I try do it using Radgrid inside UpdatePanel,
And execute a tigger when prerender radgrid

but I got an error

 

Unable to register UpdatePanel with ID. 'UpdatePanel1' because it did not register with ScriptManager. This problem can occur if the UpdatePanel was removed from the control tree and later added again, which is not allowed.
Parameter name: UpdatePanel



How I can do this?

July
Top achievements
Rank 2
 answered on 07 Nov 2011
2 answers
140 views

I’ve been pulling out my limited hair over this problem, so I need some help.  I’m getting different RadWindow behavior, from the same code, depending on what control was used to invoke that code.  In one case, the newly displayed window is modal, in another case it is not modal.  But it’s the same code!

Here’s the setup:

The master page contains nothing related to RadWindow.

Top-level page includes the RadWindowManager declaration:

<telerik:RadWindowManager ID="RadWindowManager1" runat="server" Skin="Vista"

style="z-index:20000"

       Width="600px" AutoSize="true" ReloadOnShow="true" Modal="true"

       VisibleStatusbar="false" Behaviors="Resize, Close, Move" >

</telerik:RadWindowManager>

The top-level page opens the first RadWindow using this client code

var wnd = GetRadWindowManager().open(urlToOpen);

This consistently works fine, gives me a modal window, and dims the entire browser window.  This first RadWindow does NOT contain any declarations related to RadWindow.  This first RadWindow opens a second RadWindow.  I want the second RadWindow to also be modal.  The code that I’m using to open the second RadWindow is:

    var oManager = GetRadWindow().GetWindowManager();   <<< GetRadWindow is from the demo

    var oWnd;

    setTimeout(oWnd = function (p1) {

        return oManager.open(p1, null);   <<< null or “foo”, no difference

    }(urlToOpen), 0);

This code is pretty similar to the demo about opening a window from inside a window.  The first RadWindow form calls this code either from an asp.net Button client click event or from a RadComboBox client SelectedIndexChanging event.  Really, the same code!

The second RadWindow does not contain any declarations related to RadWindows.

When the button click opens the second RadWindow, it works great.  The displayed window is modal, on top, and the browser window is dimmed an additional amount.  When the same code is called from the RadComboBox SelectedIndexChanging event, the RadWindow is displayed with correct contents and size, however it is not modal (the first RadWindow is still active), it is initially displayed under the first RadWindow (should be on top), and the browser window is not dimmed an additional amount.  The two RadWindows can then be closed in either order.

The only thing that is really different is button vs RadComboBox.  Both controls are contained in cells of a DetailsView.  Both controls are created dynamically.  I’ve checked the intermediate values in the JS code and both get the same window ID and manager ID (using get_id() for both).  The second-level RadWindow gets a new ID each time it is displayed, which is expected.  This happens in both IE and FF.

This appears to be tied to the RadComboBox, since I get the same non-modal behavior from a different first RadWindow that has a RadComboBox in a RadGrid template column.  Both of the first-level RadWindows open the same second RadWindow.  The second RadWindow contains a dynamically generated RadGrid but has no knowledge (that I know about) of how it was invoked (both the button and the RadComboBox generate the same url).

Any ideas on how to always get the modal behavior?

Thanks,
DaveL

dave
Top achievements
Rank 1
 answered on 07 Nov 2011
15 answers
791 views
Is there any way to reference a NestedViewTemplate control value. I have a label and a text box within the NestedViewTemplate that i would like to perform other operations on. Is this currently possible. Any help would be greatly appreciated.
John Cooney
Top achievements
Rank 1
 answered on 07 Nov 2011
20 answers
1.3K+ views
I am migrating servers and basically copied every setting from one server to the other. IIS runs on a virtual server running Windows Server 2003 and our files are stored on a share. When moving to the new server I am getting an Unknown server tag error for all of my Telerik controls. I am using some ASP.NET controls and some Prometheus controls.

Everything works fine on my local box still and if I flip it all back to the old box it works without error. We have changed nothing in the files since they are on a share.

Am i missing something. Do I have to run an install on the new server if I have the files in the bin directory?
Sebastian
Telerik team
 answered on 07 Nov 2011
0 answers
77 views
Got it:

Dim mytextbox As RadTextBox = myRadGrid.MasterTableView.GetInsertItem().FindControl("txtBox")
Corina
Top achievements
Rank 1
 asked on 07 Nov 2011
2 answers
77 views
I need to display rows of data, where one of the columns is also rows of data. How can I achieve this with one call to get the data.

The data received from data layer looks like this, it is one call to GetData() and it returns
List<Customer> customers where customer.Products= List<Product>

and I would like to display it as

CustomerId  CustomerName         Products
1 John Smith                 Paper 12.50
                                                        Pin        1.99
                                                        Clip       5.55
              Jane Doe                   Paper    15.55
                                                        Pin           2.99


Can I achieve this display using two RadGrids?
Thanks,
saritha78
Top achievements
Rank 1
 answered on 07 Nov 2011
3 answers
57 views
empty empty
July
Top achievements
Rank 2
 answered on 07 Nov 2011
0 answers
118 views
Hello, I'm working on a printing solution based on asp.net Rad GridView control. The print page is a long radgrid with headers and one grouping level. I need to show the columns header on all the printed pages, and I've successfully used the CSS rule :
thead
    display:table-header-group
 
tbody
    display:table-row-group
}
Now I need to show on each page the group header, I saw that the group header is rendered with this HTML:
<tr class="rgGroupHeader">
        <td class="rgGroupCol"><input type="submit" name="ctlrReportDesigner1$RadGrid1$ctl00$ctl04$ctl00" value=" " title="Collapse group" class="rgCollapse"></td><td colspan="3"><p>My Group Header</p></td>
    </tr>
I've tried to apply to the rgGroupHeader the table-header-group but with no luck, the style seems to be applied only to thead elements. The question is: how can I show the group headers on all the printed pages? Can I change the format of the table group and transform it in N sub-tables with thead and tbody?
matteo
Top achievements
Rank 1
 asked on 07 Nov 2011
1 answer
37 views
I have run into a problem where I am doing a databind and it causes invalid postback errors in the system events log.  I am doing the rebind to change the appearance of the grid. i.e. turn of sort, display on line in grid not 20, hide a couple columns etc..   I am not changing the underlying data that has been selected.   Calling the databind sometime causes errors. Is there a way to refresh the appearance of the grid without using the databind?
Pavlina
Telerik team
 answered on 07 Nov 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?