Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
190 views
We were having problems with our Q1 2009 telerik radeditor so I installed Q2 2009, file version 2009.02.0701.20. Now when the page loads with the radeditor it says, Campatibility View "a problem displaying duplimark.com caused Internet Explorer to refresh the web page using Compatibility View."

How can we make it not refresh into compatibility view?
Mic
Top achievements
Rank 1
 answered on 20 Aug 2009
2 answers
174 views
Hi,
i am using radcontrols for asp.net ajax,

within the radgrid item template i have one drop down list and one label.

i have selected index change event for that dropdown list.

the label should be changed based on the selected item of the drop downlist for each row.

how should i do this?

pls give me the solution.

thanks
naveen veda
Top achievements
Rank 1
 answered on 20 Aug 2009
4 answers
152 views
Hi,
        I'm using RadScheduler in my application and I want to increase the width of the cell from the default. I tried some combinations, but in vain. Can somebody throw light on CSS changes.

R/ BottleRocket.
Bottlerocket
Top achievements
Rank 1
 answered on 20 Aug 2009
1 answer
128 views
Hello there,

I have 2 pages: Page1 & Page2 that share similar structure, except for a RadTabStrip+RadMultiPage that wrap the controls in Page2.

Both pages have a number of ComboBoxes that are also identical. The combos are populated through DataBind() to a DataSource DataTable that is retrieved at runtime from database. Everything is OK in Page1. However, when I run Page2 I always receive and Exception: "System.ArgumentOutOfRangeException: Selection out of range, Parameter name: value" , with the line containing DataBind() being highlighted.

As I said, I'm populating the combos identically in both pages, yet, the exception only appears in Page2. Strangely enough, if I walk the datasource rows and define then add combo items, exception disappears; only when I use DataBind() it pops up, and for all the combos of Page2.

Does placing combos inside a RadTabStrip+RadMultiPage has an impact on how they should be populated? Or am I missing something here?

Thanks.

Regards,
Saed
Yana
Telerik team
 answered on 20 Aug 2009
1 answer
164 views
I am really confused and aggravated by this error that apparently is a bug in the current release (Quarter 2, 2009), as evidenced on page 156 of the "RadControls for ASP.NET AJAX" developer's manual, "Handling ViewState Conflicts."  It states, in part, that "one last wrinkle that you may run into is that as your control tree becomes more complex...[you're screwed]."

I have 5 RadGrids on a webform and I simply want them to work.  However, after the page loads, the grids are filled with data, and when any row or menu item is selected, the application crashes because of this "little wrinkle."

So I copied your work-around code to kill viewstate on control first load, but (damnit!) you only give an example FOR ONE CONTROL!!!  What about the more likely event that there will be multiple controls on a page?  How is that addressed?

And then, at the bottom of page 157 in the work-around code, where the hell does IDynamicControl come from?  It's not in the APIs of System.Web.UI nor Telerik.Web.UI and fails to compile.

Finally, there is no mention of this "little wrinkle" in the RadGrid section of the manual - I stumbled upon the above entriely by chance.

Sheesh!!!
Veli
Telerik team
 answered on 20 Aug 2009
1 answer
141 views

<%

@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs" Inherits="tootiptest.WebForm2" %>

 

 

<%

@ Register Assembly="Telerik.Web.UI, Version=2009.2.701.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4"

 

 

 

Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

 

 

 <%

@ Register Assembly="Infragistics35.WebUI.WebCombo.v9.1, Version=9.1.20091.2067, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" Namespace="Infragistics.WebUI.WebCombo" TagPrefix="igcmbo" %>

 

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

 

 <

 

html xmlns="http://www.w3.org/1999/xhtml">

 

 <

 

head runat="server">

 

 

<title></title>

 

 </

 

head>

 

<

 

body>

 

 

<form id="form1" runat="server">

 

 

<asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager>

 

 

<div>

 

 

<table>
<tr>

 

 

</tr>

 

 

<tr>

 

<td width="110px">

 

</td>

 

 

<td>

 

 

<igcmbo:WebCombo ID="WebCombo1" runat="server">

 

 

<ClientSideEvents AfterDropDown="test" />

 

 

</igcmbo:WebCombo>

 

 

</td>

 

 

</tr>

 

 

</table>

 

 

<telerik:RadToolTip ID="RadToolTip1" Text="test" TargetControlID="WebCombo1" Position="BottomRight"

 

 

RelativeTo="Element" ShowEvent="FromCode" runat="server">

 

</telerik:RadToolTip>

 

</div>

 

 

</form>

 

 </b

 

ody>

 

 </

 

html>

 

 <

 

script language="javascript" type="text/javascript">

 

 

 

 

function test() {

 

var rttToolTip = $find("<%= RadToolTip1.ClientID %>");

 

 rttToolTip.show();

}

 

</

 

script>

 

 

 

Svetlina Anati
Telerik team
 answered on 20 Aug 2009
1 answer
106 views
Hi there,

I have a very basic question about data grouping that I cannot find an answer to in the on-line demos.  Suppose I have the following data:

Age      Gender
----       ----------

30        M
40        F
50        M
30        F
40        M
50        F
30        M
40        F
50        M

I need to display the number of men and women in each age category in a graph similar to the one at the top of http://demos.telerik.com/aspnet-ajax/chart/examples/functionality/datatable/defaultcs.aspx.  In other words, I need the x-axis to have three points labelled 30, 40 and 50, and then two columns for each point with the y-values indicating the total numbers (so for x = 30, we have y = 2 for Men and y = 1 for Women, and so on).

Please give me step-by-step instructions for how to do this, or point me to the relevant place in the documentation.  I have struggled for the last two hours and so far have not managed to understand the charting API from the on-line examples.

Thanks,

Ed Graham

Ves
Telerik team
 answered on 20 Aug 2009
1 answer
160 views
Hello,

We have a bunch of CSS files that we inherited from another vendor and need to use them to style our website.  We have a content area of a master page that has a defined style by these CSS files.  This seems to be causing a problem for the rendering of our RadScheduler control.  The issue comes in with a specific file that is defining styles for tables within the class defined by the content section.  There are a lot of styles being set to <table>, <th>, <tr>, and <td> elements.  The RadScheduler seems to be inheriting these settings when it is rendered on the page.

Is there a way to tell the RadScheduler to ignore the settings in these CSS files and use it's own rules for styling?

Thanks,
Warren
Alex Gyoshev
Telerik team
 answered on 20 Aug 2009
3 answers
159 views
Hi All

I have a user control containing a scheduler in the ascx pageload event I get all the data for the scheduler

 

If Not Page.IsPostBack Then

 

LoadSessions(JobPlan_ID, Cycle)

 

Me.lblCycle.Text = "Week " & Cycle

 

 

End If

 


The control is called from my aspx which loops to create the correct number of instance on the control (The Load Session()).
If Not Page.IsPostBack Then

 

LoadWeeks()

 

End If

 


I'm having trouble maintaining state across postbacks.

Using the page loads as shown whenever I do a postbask the controls disappear, if I move the loader outside of the page.ispostback code then they appear but as expected I loos all user completed fields (on a separate edit area)

What am I doing wrong?

Andy
Andy Green
Top achievements
Rank 1
 answered on 20 Aug 2009
7 answers
296 views
Hi,

I have tried the following code of RADScheduler to insert data into the tables. The tables are correctly made and the update function is working fine. I cannot find any error in my program perhaps someone could show me one.

Thank you,
Manan Podar

The code for the insert function-

public

 

override void Insert(RadScheduler owner, Appointment appointmentToInsert)

 

{

 

if (!PersistChanges)

 

{

 

return;

 

}

 

using (DbConnection conn = OpenConnection())

 

{

 

using (DbTransaction tran = conn.BeginTransaction())

 

{

 

DbCommand cmd = DbFactory.CreateCommand();

 

cmd.Connection = conn;

cmd.Transaction = tran;

PopulateAppointmentParameters(cmd, appointmentToInsert);

cmd.CommandText =

" INSERT INTO DbProvider_Classes (Subject, Start_Date, End_Date, TeacherID) VALUES (:Subject, :Start_Date, :End_Date, :TeacherID)";

 

 

 

if (DbFactory is OracleClientFactory)

 

{

 

//cmd.CommandText += Environment.NewLine + "SELECT SCOPE_IDENTITY()";

 

cmd.CommandText +=

Environment.NewLine + "SELECT sequence1.nextval identity FROM dual";

 

 

//cmd.CommandText = "SELECT seq_sub_form_id.nextval identity FROM dual";

 

}

 

 

else

 

{

cmd.ExecuteNonQuery();

cmd.CommandText =

"SELECT ::ID";

 

}

 

int identity = Convert.ToInt32(cmd.ExecuteScalar());//error point

 

FillClassStudents(appointmentToInsert, cmd, identity);//table class students is a table wo a primary key

tran.Commit();

}

}

}

Kevin Mason
Top achievements
Rank 1
 answered on 20 Aug 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?