Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
304 views
hi my dear friends
why RadGrid Filter (DropDown) Position Is Wrong When Our Grid Is Larger Than Page And Horizontal Scroll Bar Is Appeared ...
i mean when u click on filter button so u see filter menu in a wrong position in ur page , not under filter button



Andrew Bort
Top achievements
Rank 1
 answered on 09 Mar 2012
2 answers
206 views

Hello Telerik Developers-

 

I have seen similar posts in this forum, but none seemed to point to a working solution.

 

  • Telerik RAD Controls for ASP.Net Ajax (2010.2.826.20)
  • Target Framework:  .Net Framework 2.0
  • Visual Studio 2008
  • This problem happens in Firefox 10.0.2, IE 8, and Chrome 17

 

Scenario:  RadGrid within a user control (.ascx) that is dynamically loaded into a webform (.aspx).  Filtering is enabled on the RadGrid.

 

When the user clicks on any of the filter buttons at the top of any of the columns, the filter menu is displayed, but not directly adjacent to the filter button (it is displayed too far to the right).  This behavior did not occur when we were allowing the RadGrid and user control to assume 100% of the available screen width.  It only became a problem when we restricted the display of the application to a fixed width (similar to what is described in this thread:  http://www.telerik.com/community/forums/aspnet-ajax/grid/radgrid-filtermenu-location.aspx).

 

Any guidance would be very much appreciated.

 

Thanks,

Andrew

Andrew Bort
Top achievements
Rank 1
 answered on 09 Mar 2012
2 answers
92 views
Hello all,

I'm trying to put a DropDownList in my EditForm, and populate it in the ItemCommand method. Existing codebehind is like this:

GridEditFormItem item = (GridEditFormItem)(e.Item as GridDataItem).EditFormItem;
                DropDownList ddlTeams = (DropDownList)item.FindControl("ddlTeams");
                ddlTeams.DataSource = GetTeamsDS();
                ddlTeams.DataTextField = "TeamName";
                ddlTeams.DataValueField = "TeamName";
                ddlTeams.DataBind();


My problem is that the FindControl() method isn't actually finding the control. I'm 100% sure everything is named the same, and I've used this method on other types of controls (listBox, Label, Button, etc.) but when I'm using it on the DDL it just fails. Should I be doing this in another method? or is there a way to make it work here? 
Kyle
Top achievements
Rank 1
 answered on 09 Mar 2012
2 answers
381 views

My RadTextBox has the onchange value set. When the user enters a value, I look up a value on our DB, which returns a value, with which I use set_value to either blank out the RadTextBox or assign it a different value.

But when I use set_value for either reason, it kicks off the onchange event again, creating a loop, which calls our DB 100's of times before finally stopping. How can I prevent that?
Jeremy Yoder
Top achievements
Rank 1
 answered on 09 Mar 2012
8 answers
496 views
I have a table cell that is set to 100% height with a RadTextBox in it.  I want the RadTextBox height to also be 100% and seem not to be able to get this to happen.  The TextMode is set to MultiLine.  I've tried setting the Height property and it yields no results.  There is no way of determining the amount of rows to populate the Rows property properly to make the RadTextBox expand to fit the whole table cell.  Is this possible with this control?
Mike
Top achievements
Rank 1
 answered on 09 Mar 2012
1 answer
77 views
Hi,

radconfirm and window.radopen functionalities are not working in IE 9 browser.

Below are the code examples:
var deleteconfirmationWindow = radconfirm('Are you sure you want to delete this folder?', confirmDeleteCallBackFn, 350, 60, "", 'Delete Folder');

var oWnd1 = window.radopen(url, "CustomReportSelectionWindow");


Also the styles applied for content in a RadEditor are not being displayed.

Thanks

Marin Bratanov
Telerik team
 answered on 09 Mar 2012
3 answers
65 views
Hi

i want to assign my tooltip text value by using the bellow code.  Control ID will be my RadToolTip ID.

string myScript = @"window.opener.document.getElementById('" + controlID + "').value = '" + strcomment.Trim() + "';window.close();";

Regards
Nithya
Marin Bratanov
Telerik team
 answered on 09 Mar 2012
5 answers
94 views
I have a radchart that is a horizontal bar chart (so the X-Axis and Y-Axis are reversed).  The X-Axis (the vertical one in this case) has custom labels that are supposed to be right justified.  However, the right justification is only approximate.  It looks as if the strings with wider characters end further to the right than strings that have on average narrower characters.  The appearance seems as if the code that builds the bitmap uses a formula based on string length * font n-space rather than string.measure string to calculate the starting location of each label in this particular case.
Peshito
Telerik team
 answered on 09 Mar 2012
3 answers
73 views
As far as I understand Combobox doesn't support this key shortcuts. Is it going to be added in some future or is there any known way to add their support to combobox?

Kalina
Telerik team
 answered on 09 Mar 2012
1 answer
72 views
Hi,

I've recently upgraded to 2012q1 and noticed that there my labels width start to act freaky. I've a class in my main css that defines the width off all of my labels and suddenly the inputs started not to fill the whole  width set in the RadTextBox. Switching back to the old DLLs works fine.
Here is simple way to reproduce the issue:
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head runat="server">
    <title></title>
    <style type="text/css">
        .labelClass
        {
            display: inline-block !important;
            width: 50px !important;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <div style="width: 600px">
        <telerik:RadTextBox runat="server" ID="r1" Label="TEXT1" Width="49%" LabelCssClass="labelClass" />
        <telerik:RadTextBox LabelCssClass="labelClass" runat="server"  Width="49%"  ID="RadTextBox1" Label="TEXT2"
            /><br />
             
    </div>
    </form>
</body>
</html>


 in the attached file it is possiable to see the difference between the outputs.

I played with it and found that
the generated HTML is
<span id="r1_wrapper" class="riSingle RadInput RadInput_Office2010Silver" style="width: 49%;">
<label id="r1_Label" class="riLabel labelClass" style="width:40%;" for="r1">TEXT1</label>
<span class="riContentWrapper" style="width:60%;">
<input id="r1_ClientState" type="hidden" name="r1_ClientState" autocomplete="off">
</span>

so it looks like the custom width set via the CSS is ignored.

I've noticed that there is new property LabelCssWidth but it will take days to find and change all the label and I don't want to hardcode their width.

Will this be fixed in 2012Q2  or I should stay with the 2011Q2 ?
Vasil
Telerik team
 answered on 09 Mar 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?