| <telerik:RadScriptManager runat="server" /> |
| <telerik:RadRotator ID="RadRotator1" runat="server" RotatorType="Buttons" WrapFrames="false" Width="540px" Height="135px" ItemHeight="135px" ItemWidth="135px"> |
| <ItemTemplate> |
| <div style="background: red; width: 135px; height: 135px;"> |
| TEST |
| </div> |
| </ItemTemplate> |
| <Items> |
| <telerik:RadRotatorItem ID="RadRotatorItem1" runat="server" /> |
| <telerik:RadRotatorItem ID="RadRotatorItem2" runat="server" /> |
| <telerik:RadRotatorItem ID="RadRotatorItem3" runat="server" /> |
| <telerik:RadRotatorItem ID="RadRotatorItem4" runat="server" /> |
| <telerik:RadRotatorItem ID="RadRotatorItem5" runat="server" /> |
| <telerik:RadRotatorItem ID="RadRotatorItem6" runat="server" /> |
| </Items> |
| </telerik:RadRotator> |

This is minor issue, but I have always had problems trying to get the ClientSelectColumn checkboxes center justified in their column. I have the following markup for the column:
I thought that it might have to do with some extra padding, so I tried to apply a style that got rid of padding, but that didn't seem to do much. I have to set the column width to at least 40px to get the checkboxes to appear even close to centered. This causes quite a bit of wasted space to the left and right of the checkboxes.
| <telerik:GridClientSelectColumn UniqueName="ClientSelectColumn" Resizable="False" > |
| <ItemStyle width="40px" HorizontalAlign="Center" VerticalAlign="Middle" CssClass="GridSelectColumnItem" ></ItemStyle> |
| <HeaderStyle width="40px" HorizontalAlign="Center" VerticalAlign="Middle" BorderStyle="None"></HeaderStyle> |
| </telerik:GridClientSelectColumn> |
| the style shown is: |
| .GridSelectColumnItem |
| { |
| padding:0; |
| margin:0; |
| } |
| <telerik:RadFormDecorator ID="RadFormDecorator1" Runat="server" |
| DecoratedControls="CheckBoxes, RadioButtons, Textbox, Textarea, Select" /> |

I personally think the cursor position make the problem.
Browser:IE7Hai! I have editable radgrid with two columns..one is subject column and another one is marks column..I have dropdownlist_index changed event..In this event change subject's depend on dropdownlist selected value in grid..In run time I enter marks in marks column and then click button1..In button1 click event I need to get the value of editable column...but I can not get run time editable value..I can get only column default value that is 0..why i cannot get the runtime edited value.. can anyone help me?
protected void Button1_Click(object sender, EventArgs e)
{
foreach (GridEditableItem grdRow in grdMarksEntry.Items)
{
string str = (grdRow["Marks"].Controls[0] as TextBox).Text;
}
}
protected void grdMarksEntry_ItemCreated(object sender, GridItemEventArgs e)
{
for (int i = 0; i <= grdMarksEntry.PageSize; i++)
{
grdMarksEntry.EditIndexes.Add(i);
}
}
protected void grdMarksEntry_ColumnCreated(object sender, GridColumnCreatedEventArgs e)
{
if (e.Column.UniqueName == "Id")
{
e.Column.Visible =
false;
}
}
protected void DDLCourses_SelectedIndexChanged(object sender, EventArgs e)
{
SqlConnection Cnn = new SqlConnection();
Cnn.ConnectionString =
@"Data Source=DEVI\SQLEXPRESS;Initial Catalog=Acarin_SchoolManagement;Integrated Security=True";
Cnn.Open();
DataSet ds = new DataSet();
SqlCommand cmd = new SqlCommand("SELECT SubjectName,Id FROM [tblCourseSubject] WHERE ([CourseId] = '" + DDLCourses.SelectedValue + "' )", Cnn);
SqlDataReader dr = cmd.ExecuteReader();
DataTable dt = new DataTable("StudentMarks");
dt.Load(dr,
LoadOption.OverwriteChanges);
ds.Tables.Add(dt);
DataColumn dc = new DataColumn("Marks", System.Type.GetType("System.Int32"));
dc.DefaultValue =
"0";
dc.ReadOnly =
false;
ds.Tables[
"StudentMarks"].Columns.Add(dc);
ds.Tables[
"StudentMarks"].Columns[0].ReadOnly = true;
grdMarksEntry.DataSource =
null;
grdMarksEntry.DataSource = ds;
grdMarksEntry.DataBind();
}
Hello, Telerik Team
I got a problem to register the httphandler for the captcha control. Like this document says I placed this two codes in the web.config
But as this is done I still get this error on my page.
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Could not load file or assembly 'Telerik.Cms.Web.UI' or one of its dependencies. The system cannot find the file specified.
Source Error:
|
|
Version Information: Microsoft .NET Framework Version:2.0.50727.4016; ASP.NET Version:2.0.50727.4016
Hope you guyes can help me out with this problem.
Thanks in advance,
Jeroen Speldekamp