Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
632 views

Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. The system cannot find the file specified.

Source Error:

Line 1:  <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" %>
Line 2: <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>Line 3:  
Line 4:  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


I am using Rad Controls for ASP.net ajax controls on asp.net 2.0
Assembly version = 2008.2.826.20
File Version = 2008.02.0826.20

When I host the site in local machine its works fine, but I get the above mentioned error when I upload it to production server. The production server has ASP.Net 3.5 though. I have also downloaded the specified dll files for 3.5 but that is also not working.

Please advice asap as we are working on a tight schedule.

Kindest Regards
Shinu
Top achievements
Rank 2
 answered on 06 Oct 2008
1 answer
128 views
How would i programmatically email the contents of a grid..

if i export to excel, it sends the file to the browser...

i want to attach the grid to a system.net email class and send it out..

how to do this?


Shinu
Top achievements
Rank 2
 answered on 06 Oct 2008
1 answer
124 views
Hi there,
Is it possible to add paging into the footer of a grid? The reason I ask is I have created a UI where I have my add and editing buttons sitting inside the CommandItemTemplate. I am wanting the paging to sit ontop of my CommandItemTemplate not below.

Currently if I add Paging="true" this displays below my CommandItemTemplate which is not my desired result.

Has anyone done this before or do I need to build some custom paging function?

Thanks
Shane
Shinu
Top achievements
Rank 2
 answered on 06 Oct 2008
5 answers
202 views
Hello

Is there a way to export to CSV all the data in a self-referencing hierarchy grid?

I am using this command to export to CSV. But this only exports the data of the Parent.
RadGrid.MasterTableView.ExportToCSV();

I tried different solution in the forums but it is still not working. Any help on this matter?

Anette
Shinu
Top achievements
Rank 2
 answered on 06 Oct 2008
1 answer
176 views
If I have this in the ASPX

<telerik:RadPanelBar ID="RadPanelBar1" runat="server" Skin="Outlook" Width="190px" ExpandMode="MultipleExpandedItems">   
  <CollapseAnimation Duration="100" Type="None" /> 
  <ExpandAnimation Duration="100" Type="None" /> 
</telerik:RadPanelBar> 

And I try to do this from C#

var m1 = new RadPanelItem("item 1"); 
m1.Items.Add(new RadPanelItem("sub1")); 
m1.Items.Add(new RadPanelItem("sub2")); 
m1.Items.Add(new RadPanelItem("sub3")); 
RadPanelBar1.Items.Add(m1); 
 
var m2 = new RadPanelItem("item 2"); 
m2.Items.Add(new RadPanelItem("sub1")); 
m2.Items.Add(new RadPanelItem("sub2")); 
m2.Items.Add(new RadPanelItem("sub3")); 
RadPanelBar1.Items.Add(m2); 

It works fine, however when I try to add custom content rather than RadPanelItems like this:

var m1_d = new RadPanelItem("item custom"); 
m1_d.Controls.Add(new Label() { Text = "sub1", ID = "s1" }); 
m1_d.Controls.Add(new Label() { Text = "sub2", ID = "s2" }); 
m1_d.Controls.Add(new Label() { Text = "sub3", ID = "s3" }); 
RadPanelBar1.Items.Add(m1_d); 

while I see the results on the page when clicking on the header the panel bar would not collapse. From a quick look at the rendered HTML the rpExpandable CSS class is not applied in the later case (when adding labels) -- not sure if this makes a difference or not.

Thanks.

P.S. this behavior is not browser specific.
Peter Zolja
Top achievements
Rank 1
 answered on 05 Oct 2008
5 answers
364 views
Hi,

I have created a CrossTab routine which populates a RadGrid.  I always no there will be a "Project" column in the first column, but the rest are generated as crosstabs based on the date criteria.

I need to enable filtering on the Projet column, but remove it programatically from all other columns.

How do I do this?

I tried capturing the column in PreRender and looking for col.AllowFiltering but this doesnt appear to be an option?

Thanks

i
Stephen
Top achievements
Rank 1
 answered on 05 Oct 2008
2 answers
150 views
Hi,
I'm using a TreeView with ExpandMode=ServerSideCallback and it's working fine. However, in certain situations I want to reload from a certain node (and all its children), without having to reload all the other nodes which were already loaded.
A situation for example where I might need it - a popup window was opened, where some data changes can be made. Once it is saved or closed, a client-side function in my page is called, and now I want to reload some data from the server which would update a relevant node (but again, without having to reload the whole tree).
How can I achieve this?
Amit
Top achievements
Rank 1
 answered on 05 Oct 2008
2 answers
154 views
Hi,

I placed a couple of RadSliders to the RadGrid's popup edit window and now I have a problem with sliders when scrolling the popup's content. All the other content scrolls as they should but RadSlider does not scroll at all. Do I have to redraw radsliders somehow or what can I do to fix this one?

Thanks
Pete
Top achievements
Rank 1
 answered on 05 Oct 2008
6 answers
247 views
I am new to RAD controls, and have a very simple question about technique.

Previously, our Calendar form used the Calendar control that ships with VS2008.

We ran a VB server procedure to update the form.

I swapped-in the new RADCalendar control, and tried to do the minimal amount of work to get the form running.

I found that setting AutoPostback to "true", along with EnableViewState to "true", would send me back to the server, where I would read the selected date and rebuild the form.

Works fine, but defeats the advantages of a client control for browsing dates.

Still a novice in JavaScript, I think I should disable AutoPostback, trap the SelectedDate change event, then postback to update the page contents from the database.

This is probably 2-3 lines, but in a language where I am stuck on chapter one of JavaScript for Dummies - Slow Learner Edition.

Can somebody point me in the right direction? Thanks
Scott
Top achievements
Rank 1
 answered on 05 Oct 2008
1 answer
148 views
My grid is updated via a stored procedure, and when a user is updated, the stored procedure deletes the current one being updated and adds a new one. So every time the database is updated, I need to re draw the grid. In the C# code behind, which function call do I need to do this in, and what is the code to redraw the grid?

Thanks,
Laura
Vladimir
Top achievements
Rank 1
 answered on 04 Oct 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?