Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
176 views
Hi.

There appears to be a bug with left button in RadRotator.
I've put up a simple horizontal rotator and I have a problem: when rotator is positioned at page 2  - it allows a user to click the left button more then once before it disables it (for the purpose of reaching the begining of the list). What happens is - if a users clicks the left button more then once fast enough - the list ends up out of bounds. This only happens with the left(previous page) button; right(next page) buttons works properly.

I'd appreciate if I could get some help, if there is some way to work around that bug. Thanks.

Here's an example to reproduce the mentioned issue; first, scroll to page 2 and then click left scroll button a couple of times fast:
(Q2 2009 - 701)
<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> 
Fiko
Telerik team
 answered on 13 Aug 2009
2 answers
167 views

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;  

Albert Shenker
Top achievements
Rank 1
Veteran
Iron
 answered on 13 Aug 2009
3 answers
60 views
We recently upgraded to the new controls.

I like the drop down styling , but it has made my upload boxes and my buttons vanish from the page.  They are still there as I can click where the button should be and it works.

I have chosen not to style buttons as i have my own css - the upload controls do not have any style on them
<telerik:RadFormDecorator ID="RadFormDecorator1" Runat="server"   
        DecoratedControls="CheckBoxes, RadioButtons, Textbox, Textarea, Select" />  

here is a screenshot:    Missing Items

I am stumped - My solution for now is to turn it off, but I hope we can find a better one.
Martin
Telerik team
 answered on 13 Aug 2009
1 answer
396 views
Hi,

I am using RadControl Q1 2009.
I am using RadEditor.

'RadEditor.ExportToPdf()' is used to open pdf in browser.



How can I save the radeditor content as pdf from serverside.?

Thanks


Rumen
Telerik team
 answered on 13 Aug 2009
9 answers
252 views
Hello,

I have a problem when using editor.

I don't know how to upload the attachment. so i just describe the process.

  1. using UpdatePanel in the page
  2. add 2 buttons in the UpdatePanel ContentTemplate
  3. Button1 used for create the radEditor dynamic
  4. when the editor is shown, input some text in the Editor, select all, change the text color, then click anywhere in the edit area(if keep selected state, the issue will disappear)
  5. Button2 can do anything, just make sure it do the asynchronous postback.
  6. when the result is back, click in the edit area, error 800a025e occured.

I personally think the cursor position make the problem.

Browser:IE7
Version:2008.Q3.SP1

Thanks for your reply.
kereal
Top achievements
Rank 1
 answered on 13 Aug 2009
2 answers
154 views

Hai! 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();

 

}

saroja
Top achievements
Rank 1
 answered on 13 Aug 2009
0 answers
39 views
Appoinment show one day less in Rad Sheduler

for ex === start date : 10th aug 12 AM , End Date : 15th aug 12 AM

but in Scheduler it mapping from 10th aug to 14th aug
Rajesh
Top achievements
Rank 1
 asked on 13 Aug 2009
1 answer
97 views
I've had a desire to add a search field to my radtoolbar, but I can't seem to find any built in way to add custom html or radinputbox to the toolbar.

When I came to this site I looked at the toolbar at the top of the page and noticed the telerik site has a search bar in the toolbar.  After inspecting the source I noticed it isn't a radtoolbar it is a radmenu.  Do I have to convert my toolbar to menu to have a search box?

Thanks
Veselin Vasilev
Telerik team
 answered on 13 Aug 2009
8 answers
173 views
Hello,

I have in my website a combobox multi-columns.

I define the columns like the online example : http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/multicolumncombo/defaultcs.aspx

my code is :

<telerik:RadComboBox ID="Pays" runat="server" Height="190px" Skin="Sunset"
                        Width="320px" MarkFirstMatch="true"  EnableLoadOnDemand="true" HighlightTemplatedItems="true"
                        ItemRequestTimeout="500"  OnItemsRequested="Pays_ItemsRequested" OnItemDataBound="Pays_ItemDataBound" DataSourceID="SqlDataSource1" ExpandDelay="1">
                        <HeaderTemplate>
                            <ul>
                             <li class="col2">Pays</li>
                             <li class="col1">Lieu</li>
                            </ul>
                        </HeaderTemplate>
                        <ItemTemplate>
                            <ul>
                             <li class="col2"><%# DataBinder.Eval(Container.DataItem, "Designation") %></li>
                             <li class="col1"><%# DataBinder.Eval(Container.DataItem, "Information_supp1")%></li>
                            </ul>
                        </ItemTemplate>
                <CollapseAnimation Duration="200" Type="OutQuint" />
             </telerik:RadComboBox>

When visualize the page the combobox don't have columns like a grid but it have bulleted list

Can you help me?

Thanks




Thierry Treunet
Top achievements
Rank 1
 answered on 13 Aug 2009
2 answers
201 views

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

<httpHandlers>  
      
<add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.CaptchaImageHandler" verb="*" validate="false" />  
</httpHandlers>  
 
<handlers>  
     
<add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.CaptchaImageHandler" />  
</handlers>


But as this is done I still get this error on my page.
 

Server Error in '/' Application.

Configuration Error

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:

Line 61: 			<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
Line 62: 			<add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false"/>
Line 63: <add verb="GET" path="CaptchaImage.axd" type="Telerik.Web.UI.SpamProtection.Captcha.CaptchaImageHandler, Telerik.Cms.Web.UI" />Line 64:     </httpHandlers>
Line 65: 		<httpModules>

Source File: C:\Users\jmi01\Desktop\custom-image-editor-updated\Custom_Image_Editor\web.config    Line: 63

Assembly Load Trace: The following information can be helpful to determine why the assembly 'Telerik.Cms.Web.UI' could not be loaded.

=== Pre-bind state information ===
LOG: User = WALBEEKGROEP\jmi01
LOG: DisplayName = Telerik.Cms.Web.UI
 (Partial)
LOG: Appbase = file:///C:/Users/jmi01/Desktop/custom-image-editor-updated/Custom_Image_Editor/
LOG: Initial PrivatePath = C:\Users\jmi01\Desktop\custom-image-editor-updated\Custom_Image_Editor\bin
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Users\jmi01\Desktop\custom-image-editor-updated\Custom_Image_Editor\web.config
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/ace6216c/3fd55b01/Telerik.Cms.Web.UI.DLL.
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/ace6216c/3fd55b01/Telerik.Cms.Web.UI/Telerik.Cms.Web.UI.DLL.
LOG: Attempting download of new URL file:///C:/Users/jmi01/Desktop/custom-image-editor-updated/Custom_Image_Editor/bin/Telerik.Cms.Web.UI.DLL.
LOG: Attempting download of new URL file:///C:/Users/jmi01/Desktop/custom-image-editor-updated/Custom_Image_Editor/bin/Telerik.Cms.Web.UI/Telerik.Cms.Web.UI.DLL.
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/ace6216c/3fd55b01/Telerik.Cms.Web.UI.EXE.
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/ace6216c/3fd55b01/Telerik.Cms.Web.UI/Telerik.Cms.Web.UI.EXE.
LOG: Attempting download of new URL file:///C:/Users/jmi01/Desktop/custom-image-editor-updated/Custom_Image_Editor/bin/Telerik.Cms.Web.UI.EXE.
LOG: Attempting download of new URL file:///C:/Users/jmi01/Desktop/custom-image-editor-updated/Custom_Image_Editor/bin/Telerik.Cms.Web.UI/Telerik.Cms.Web.UI.EXE.

 


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

Suneco
Top achievements
Rank 2
 answered on 13 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?