Telerik Forums
UI for ASP.NET AJAX Forum
20 answers
1.6K+ 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
103 views
Got it:

Dim mytextbox As RadTextBox = myRadGrid.MasterTableView.GetInsertItem().FindControl("txtBox")
Corina
Top achievements
Rank 1
 asked on 07 Nov 2011
2 answers
114 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
2                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
103 views
empty empty
July
Top achievements
Rank 2
 answered on 07 Nov 2011
0 answers
164 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
66 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
1 answer
92 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?

RadGrid1.AllowSorting = false;                      // Turn off column sorting when in Display mode
RadGrid1.Columns[c1ASelectFile].Visible = false;    // Hide "Select View" Column
RadGrid1.Columns[c1APrintFile].Visible = false;     // Hide "Print" Column
RadGrid1.ClientSettings.Resizing.AllowColumnResize = false;
RadGrid1.ClientSettings.Resizing.ResizeGridOnColumnResize = false;
RadGrid1.ClientSettings.Resizing.ClipCellContentOnResize = false;
RadGrid1.ClientSettings.AllowColumnsReorder = false;
 
RadGrid1.CurrentPageIndex = iRecord;                // Set document to display
RadGrid1.PageSize = 1;                              // Set to one record per page when displaying document
RadGrid1.DataBind();

Event error being generated.

Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 10/31/2011 3:43:14 PM
Event time (UTC): 10/31/2011 10:43:14 PM
Event ID: e83be8bc2dcb4fac96c0f6d752826fe9
Event sequence: 2063
Event occurrence: 5
Event detail code: 0
  
Application information:
    Application domain: /LM/W3SVC/1/Root/SpeechRecords-1-129645654292996087
    Trust level: Full
    Application Virtual Path: /SpeechRecords
    Application Path: C:\WebSite\SpeechRecords\
    Machine name: SVRTEONLINE
  
Process information:
    Process ID: 97572
    Process name: w3wp.exe
    Account name: NT AUTHORITY\NETWORK SERVICE
  
Exception information:
    Exception type: ArgumentException
    Exception message: Invalid postback or callback argument.  Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page.  For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them.  If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.
  
Request information:
    Request path: /SpeechRecords/Records.aspx
    User host address: 192.168.1.131
    User: 
    Is authenticated: False
    Authentication Type: 
    Thread account name: NT AUTHORITY\NETWORK SERVICE
  
Thread information:
    Thread ID: 1
    Thread account name: NT AUTHORITY\NETWORK SERVICE
    Is impersonating: False
    Stack trace:    at System.Web.UI.ClientScriptManager.ValidateEvent(String uniqueId, String argument)
   at System.Web.UI.Control.ValidateEvent(String uniqueID, String eventArgument)
   at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
  
  
Custom event details:
 
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Pavlina
Telerik team
 answered on 07 Nov 2011
2 answers
122 views
Hi Telerik Team,

Can anyone help me on my below query:

I want to display "RadGrid" in "RadTabStrip" which will be in "RadPane" of "RadSplitter" control.
i have done this but i cant see the Grids in "RadTab".
Please provide me the proper code.

Thanks and Regards,
Simon.
Dobromir
Telerik team
 answered on 07 Nov 2011
1 answer
136 views
Hi All,
I am using RadSplitter and it contents RadPane. I want to show loading image during pane's page load.I read the artile-
http://demos.telerik.com/aspnet-ajax/splitter/examples/showcontentduringload/defaultcs.aspx
and it works fine, but I have a concern In my case the size of pane is very large and RadSplitter don't have any scroll bar but page have, so the loading image  appear very down of the page. Can we set the position of that loading image of pane on top portion of RadPane.
Thanks..
Dobromir
Telerik team
 answered on 07 Nov 2011
1 answer
129 views
Hi all,

In my code behind I'm setting a string behaviour for the items in my grid in the radgrid item created event.  I want to be able to the following client side in jscript.

TextBox txtBox = (TextBox)dataItem.FindControl("rtbDIN");
              TextBoxSetting stringSetting = (TextBoxSetting)RadInputManager1.GetSettingByBehaviorID("StringBehavior");
              stringSetting.TargetControls.Add(new TargetInput(txtBox.UniqueID, true));

Any ideas / input ?

Thanks,
Jim
Jim
Top achievements
Rank 1
 answered on 07 Nov 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?