Telerik Forums
UI for ASP.NET AJAX Forum
11 answers
119 views
Hi

A combo box dropdown has a set width. In most cases the text is less to then the full width of the dropdown. However the items in the dropdown only respond to mouse clicks (ie to be selected) when the mouse is clicked on text. If the mouse is clicked somewhere on the dropdown that doesn't contain text the click is not picked up

Any ideas?
Thanks
Dimitar Terziev
Telerik team
 answered on 19 Jul 2012
1 answer
133 views
Hi Telerik,

I have a problem with RadTreeView for a few days now. I am unable to find a reasonable explanation to this.

In the attached file I have sent you the souce code of my problem.

I have read in the following post, that the thing has been solved...
http://www.telerik.com/community/forums/aspnet/treeview/serversidecallback-nodeclick-workaround.aspx

But I still have a problem...the web service created nodes do not trigger server side NodeClick event.

Please be so kind, and look into my code...it is really simple, but it doesn't work:)


Taught I should add the web service too....the treeview has only two levels, and only the second level is populated through web service

The rad controls version is RadControls for ASP.NET AJAX Q1 2011 NET 4.0



Thanks in advance,
regards,
Luka

Bozhidar
Telerik team
 answered on 19 Jul 2012
3 answers
438 views
1.) Drag AJAX Control on WebPart
2.) Get strong name with JustDecompile e.g.:

Telerik.Web.UI, Version=2012.2.607.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4
3.) Replace "Assembly" on UserControl with strong name:

<%@ Register Assembly="Telerik.Web.UI, Version=2012.2.607.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" ...
4.) Open Package.package -> Advanced -> Add -> Add existing assembly... 
4.a) Source Path, e.g: C:\Program Files (x86)\Telerik\RadControls for ASP.NET AJAX Q2 2012\Bin35\Telerik.Web.UI.dll
4.b) Deployment Target: GlobalAssemblyCache
4.c) Location: Telerik.Web.UI.dll
4.d) Safe Controls: -> Click here to add new item...
4.e) Namespace: Telerik.Web.UI
4.f) TypeName: *
4.g) Assembly Name (e.g.): Telerik.Web.UI, Version=2012.2.607.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4
4.f) Safe: =Checked

Plamen
Telerik team
 answered on 19 Jul 2012
1 answer
58 views

When i run recorded step for checking check box.actually it check the checkbox but result is not showing.Same step i am doing manually the result is displayed according to check box is selected.
Tell me how to select check box in coded step and why selected check box value is not passing to server.
Ivana
Telerik team
 answered on 19 Jul 2012
1 answer
110 views
Hello,

I was running a trial version of Telerik  since about June 15 or so I would guess.  We purchased the toolset on Friday July 13th and it looked as though there was an updated.  I had started using some of the tools inside our project.   When I bring the project up after the install I am getting errors specifically on the radgrid it looks like.  I haven't tried anything else.  If i remove the grid and attempt to re add it to my project as soon as I slide the control on to my project I get the same thing so it seems my toolbox is broke as well.  I tried doing a reset on the toolbox and that did not do anything.  Also, i verified i have the  telerik.web.ui referenced in my project from the bin40 folder as well.  What happened and how do i fix this?

EDIT:  I forgot to attach the error.  this is what I am getting after we purchased and updated.

Thanks.
Andrey
Telerik team
 answered on 19 Jul 2012
1 answer
636 views
Hello,
I keep having this error with a radgrid (ajaxified with a RadAjaxManager) : Uncaught Sys.WebForms.PageRequestManagerParserErrorException: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled. Details: Error parsing near '%PDF-1.4 

On the Radgrid I ve a button to open / generate a pdf coming from a database. I know the issue is coming from the Response.(), to open the pdf I ve to do something like that: 

Response.Clear()
Response.ContentType = "application/pdf"
Response.AddHeader("Content-Disposition", "attachment; filename=MyPdfFile.pdf")
Response.BinaryWrite(binaryFieldPdf.ToArray)
Response.End()

How could I avoid this error using ajax and still have a Response() in my function?       
Saravana Kumar
Top achievements
Rank 1
 answered on 19 Jul 2012
1 answer
37 views
Hello,

I have added raddatepicker Q4 2006 control on a asp.net web page and set focus on it like raddatepicker1.Focus() in page load event handler. The moment this page is loaded and shown on browser, this control loses focus.

Please tell me how to retain focus on this control when page is loaded.
Vasil
Telerik team
 answered on 19 Jul 2012
1 answer
90 views
I know that this question has been asked many times but I'm having problems getting paging working with my grid. I've looked at the examples and still can't get it right. Could someone please point me in the right direction with my code?

<telerik:RadGrid ID="ProfileGrid" Width="100%" AllowFilteringByColumn="True"
            AllowSorting="True" PageSize="12" ShowFooter="True" AllowPaging="True" ViewStateMode="Enabled"
            runat="server" OnNeedDataSource="ProfileGrid_NeedDataSource" AutoGenerateColumns="false"
            GridLines="None" ShowStatusBar="true" AllowMultiRowSelection="True" DataKeyNames="ProfileID">
            <GroupingSettings CaseSensitive="false" />
            <MasterTableView>
                <Columns>
                    <telerik:GridBoundColumn HeaderText="ProfileID" DataField="ProfileID" ReadOnly="True"
                        UniqueName="ProfileID" Display="False" />
                    <telerik:GridClientSelectColumn UniqueName="CheckboxSelectColumn" />
                    <telerik:GridBoundColumn DataField="Email" HeaderText="Email" />
                    <telerik:GridBoundColumn DataField="FirstName" HeaderText="First Name" />
                    <telerik:GridBoundColumn DataField="LastName" HeaderText="Last Name" />
                    <telerik:GridBoundColumn DataField="Occupation" HeaderText="Occupation" />
                    <telerik:GridBoundColumn DataField="CompanyName" HeaderText="Company" />
                    <telerik:GridBoundColumn DataField="Source" HeaderText="Source" />
                    <telerik:GridBoundColumn DataField="ProfileLastModifiedDate" HeaderText="Modified" />
                    <telerik:GridButtonColumn Text="Delete" CommandName="Delete" />
                    <telerik:GridButtonColumn Text="View Full Profile" CommandName="View Full Profile" />
                </Columns>
            </MasterTableView>
            <ClientSettings EnableRowHoverStyle="true">
                <Selecting AllowRowSelect="True" />
            </ClientSettings>
        </telerik:RadGrid>

public partial class ProfilesGridControl : ProfileControlBase
{
 
    protected override void FillProfiles()
    {
        List<IProfile> profilesList = new List<IProfile>();
        ProfileDal profileDal = new ProfileDal();
        profilesList = profileDal.SelectAll();
        ViewState["Profiles"] = profilesList;
        ProfileGrid.DataSource = ViewState["Profiles"];
    }
 
    protected void ProfileGrid_NeedDataSource(object source, GridNeedDataSourceEventArgs e)
    {
        if (ViewState["Profiles"] != null)
        {
            ProfileGrid.DataSource = ViewState["Profiles"];
        }
        {
            FillProfiles();
        }
    }
 
}

The grid loads the data successfully when the page is first loaded but if I try to page I first get a grid with all of the rows I would expect but no data. Then if I page again I get no grid just a blank page. What am I doing wrong? Note profileDal.SelectAll() creates a list of IProfile business objects by querying a SQL server database using a stored procedure. Calling profileDal.SelectAll() fetches all the data required first time. The data is not being fetched page by page.
Andrey
Telerik team
 answered on 19 Jul 2012
28 answers
273 views
You can reproduce these problems on your rad editor demo.
  1. Open the demo and left click the RadEditor image. Note it doesn't select the image in Safari or Chrome, and thus the image properties don't appear in the Properties Inspector. But it works fine in IE, FF and Opera.
  2. However, when you select the image in Opera, you can't initially make the cursor appear in the Width, Height, nor Border Width boxes. You have the click the up arrow in the box, and then you can click inside the box to start typing
  3. Right click the image in Chrome and Safari and note the image turns blue and the properties appear in the Properties Inspector.
  4. You can then left click to remove the context menu in Chrome and Safari and manipulate the selected image in the properties inspector. But the blue overlay looks bad.
  5. Note that resizing handles do not appear on a selected image in Safari, Chrome, nor Opera.
ido nahmias
Top achievements
Rank 1
 answered on 19 Jul 2012
4 answers
122 views
Hello 

I do have used the telerik radrotator control for showing news with animationtype=fade and rotatortype=slideshow which work fine in all browsers except IE 8 which is not showing anything not even content. Can anyone help me how to resolve this issue for IE 8 browser.

Below is my code example

<div class="newsmaindiv">
    <telerik:radrotator id="radrotator1" width="340px" height="37px" RotatorType="SlideShow"
        AnimationType="Fade" FrameDuration="2000" runat="server" itemheight="37px" itemwidth="340px"
        SlideShowAnimation-Duration="2000" style="Visibility:visible\9;">
        <Itemtemplate>
                <div style="height:37px;width:340px;">           
                   <span>                 
                    <a style="font-weight:normal;font-size:12px;font-family:Helvetica; color:#ffffff; text-decoration:none;" href='/news/listnews.aspx?idnews=<%# Eval("news_id") %>'><%# Eval("news_headline") %></a>                   
                    </span>                
                </div>              
            </Itemtemplate>
    </telerik:radrotator>
</div>
Pawan
Top achievements
Rank 1
 answered on 19 Jul 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?