Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
132 views
Hi all

There are tow questions regards this requirement:

1- I am trying to open a user control in edit form mod , in user controls i have used footable  (reference Link themergency.com/footable/) with asp gridview. footable functionality not working with in user control, if I simply open  that control at another page other than in line edit form user control in radgrid footable workng correctly , is there any conflict between telerik and other jquery plugins ...?

2 - I want to make Telerik radgrid as behave as footable  (refrence Link http://themergency.com/footable-demo/demo.htm) please help if possible


Thanks
Saquib
Top achievements
Rank 1
 asked on 28 Mar 2013
1 answer
113 views
The text for the radButton is overlapping the radio button.  Any suggestions?
Princy
Top achievements
Rank 2
 answered on 28 Mar 2013
1 answer
78 views
In RadTreeList inside the tree list
<telerik:TreeListTemplateColumn HeaderText="Cur. Cumulative Claim " HeaderStyle-Width="100px"
                             DataField="EntQnty" UniqueName="EnterQuantity">
                             <ItemTemplate>
                                 <telerik:RadNumericTextBox MaxLength="5" ID="EntQntyId" Width="80px" runat="server"
                                     Text='<%# Bind("EntQnty") %>' onkeydown="return (event.keyCode!=13);" AutoPostBack="true"
                                     FocusedStyle-BackColor="Yellow" AutoCompleteType="Disabled" OnTextChanged="EntQntyId_TextChanged">
                                 </telerik:RadNumericTextBox>
                                 <asp:HiddenField ID="HdnEqnty" runat="server" Value='<%# Bind("PrevCert") %>' />
                                 <asp:HiddenField ID="HdnQuantity" runat="server" Value='<%# Bind("Quantity") %>' />
                             </ItemTemplate>
                         </telerik:TreeListTemplateColumn>
If i enter the radnumerictext box i fire textchanged event that's fire but focus got out . how i set the focus in same text box.
See the attachment .

Thanks Advance,
Mohamed.
Princy
Top achievements
Rank 2
 answered on 28 Mar 2013
1 answer
58 views
I am working on an asp.net web application that uses the 2008 Telerik asp.net ajax library. If I buy the new telerik asp.net ajax library, do I have to update existing code? 
Princy
Top achievements
Rank 2
 answered on 28 Mar 2013
0 answers
94 views
I use 3 control's to update a hierarchy radgrid view
control 1 changed the select column ,like this,
dropdownlist  a,  item 1    :      select   workhour  as p1  from table1
dropdownlist  a , item 2    :       select  workhour*salary as p1  from table1

control 2 and 3  do not  change the  select column
all of the 3 control are in  ajaxmanager , like this....
all of the 3 control autopostback is true ,  and called  RadGrid1.MasterTableView.Rebind()  method;
~~~~~~~~~~~~~
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
                <AjaxSettings>
                    <telerik:AjaxSetting AjaxControlID="RadGrid1">
                        <UpdatedControls>
                            <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" />
                        </UpdatedControls>
                    </telerik:AjaxSetting>
                    <telerik:AjaxSetting AjaxControlID="rbl1">
                        <UpdatedControls>
                            <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" />
                            <telerik:AjaxUpdatedControl ControlID="rbl1" />
                        </UpdatedControls>
                    </telerik:AjaxSetting>
                    <telerik:AjaxSetting AjaxControlID="cbl1">
                        <UpdatedControls>
                            <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" />
                            <telerik:AjaxUpdatedControl ControlID="cbl1" />
                        </UpdatedControls>
                    </telerik:AjaxSetting>


~~~~~

the problem is :  if I don't  use  aggregate column to sum  the column,   it works  fine,

if I use aggregate column  to sum the column ,  when I change control 1 ,  It will report an error   at   Rebind() method.

protected void RadGrid1_Rebind(object sender, EventArgs e)
        {
            RadGrid1.MasterTableView.Rebind();
        }

when I change control 2 , 3 , it works fine too....


I cannot find the way .......

(Hope someone can understand what I'm saying)

update:

I found the reason ,
dropdownlist a, item 1 : select workhour as p1 from table1 ,   workhour is   decimal  type
dropdownlist a , item 2 : select cast(workhour*salary as int)  as p1 from table1,  workhour*salary   is  int  type.....


I use Numericrow ,and format it to {0:G0}
it works fine
Fei
Top achievements
Rank 1
 asked on 28 Mar 2013
2 answers
177 views
I've included the RadAsyncUpload control within a table on my page.  When the page is executed and the user mouses over the Select button of the RadAsyncUpload control, the entire control shifts position on the page.  The original alignment can be seen in the attached file "radasyncupload correct spacing.jpg".  The file "radasyncupload after mouseover.jpg" contains a screen print after the user mouses over the Select button.  Notice the entire control shifts up on the page.  Is there something I can add to my CSS to prevent this from happening?  Thanks in advance.
Lynne
Top achievements
Rank 1
 answered on 27 Mar 2013
3 answers
164 views
Have a column in my DataGrid which I have formatted to GridDateTimeColumn and set the filter option to include the Datapicker. 

What I would like to do is use the MonthYearPicker instead. How would I go about this?  Also when passing the filtered date along I want to verify it is the last day of that month, is there a way to do that in the control?
<telerik:GridDateTimeColumn DataField="cycle_date" DataFormatString="{0:d}"
 FilterControlAltText="Filter column13 column" HeaderText="CYCLE DATE"
 MinDate="1993-01-01" UniqueName="cycle_date" DataType="System.DateTime"
 EditDataFormatString="MM/YYYY">
 <HeaderStyle HorizontalAlign="Center" />
 <ItemStyle HorizontalAlign="Right" Width="125px" />
</telerik:GridDateTimeColumn>
Kurt Kluth
Top achievements
Rank 1
 answered on 27 Mar 2013
3 answers
79 views
Hi,

I have a very simpler splitter with a left and right pane.
The left pane is a navigator (treeview) and is intended to be a fixed width, unless the user specifically resizes it.
If the user changes the width of their browser window in Windows (IE, Firefox or Chrome), the left pane remains a fixed size (as desired) and the right pane has its width pro grammatically changed (see Javascript below).
If the user does the same thing on a browser on the MAC (have tried Firefox, Chrome and Safari), the left pane will grow in width as the user drags the browser window to enlarge it.

Note: Ignore the name MiddlePane - it's really the right pane (there used to be three).
Also, dv is a DiagramView (from MindFusion).

Nowhere in my code do I explicitly set the width of the left pane - only the right (middle) one.

Any ideas on what might be causing this?

Thanks in advance.

Jim


var splitter = $find("<%=RadSplitter1.ClientID %>");
                if (splitter != null)
                {
                    var leftpane = splitter.getPaneById('<%= LeftPane.ClientID %>');
                    var midpane = splitter.getPaneById('<%= MiddlePane.ClientID %>');
                    var leftWidth = leftpane.get_width();
                }
                 
                var dv = document.getElementById("<%= DiagramView1.ClientID %>");
                var marginsPlusSpltibar = 35;
 
                if (leftpane != null)
                {
                    //alert("In Resize Main");
                    // The more standards compliant browsers (mozilla/netscape/opera/chrome/IE7) use window.innerWidth and window.innerHeight
                    if (typeof window.innerWidth != 'undefined')
                    {
                        //alert("One");
                        alert("leftWidth = " + leftWidth);
                        var txtBannerHeight = document.getElementById('<%=txtBannerHeight.ClientID%>');
                        var bannerHeight = 0;
                        if (txtBannerHeight != null)
                            bannerHeight = parseInt(txtBannerHeight.value);
 
                        var newHeight = window.innerHeight - 270 + bannerHeight;
                        midpane.set_height(newHeight);
                        leftpane.set_height(newHeight);
                        var newWidth = (window.innerWidth - leftWidth - marginsPlusSpltibar);
                        midpane.set_width(newWidth);
                        splitter.set_height(newHeight);
                        splitter.set_width(window.innerWidth);
                        if (dv != null)
                        {
                            dv.style.height = (newHeight - 24) + "px";
                            dv.style.width = (newWidth - 5) + "px";
                        }
 
                    }
Vessy
Telerik team
 answered on 27 Mar 2013
4 answers
128 views
Sorry.  Memory (and coffee cup) refreshed.  This problem happens whenever you have a OnClientSelectedIndexChanged call in a RadComboBox dropdown and something crashes in the JavaScript function. 

Someone refresh my memory.  (I know I've seen this before.)

I have two RadComboBoxes in two separate screens.

One is within a Form Template and the other is not, but their settings and treatment are virtually identical.

The one inside the form template will only close if you double-click on a selection.

The other only requires a single click.

Suggestions?
Boris
Top achievements
Rank 1
 answered on 27 Mar 2013
4 answers
305 views
I have the following code in a detail table ... the validation never happens... I also have the validation on the main table that works just fine.
Do you have an example of a validation when creating a record on a detail table

<telerik:GridBoundColumn DataField="TAB" FilterControlAltText="Filter TAB column"
    HeaderText="Tab" SortExpression="TAB" UniqueName="TAB">
    <ColumnValidationSettings EnableRequiredFieldValidation="True" RequiredFieldValidator-Text="Required - Tab"
        RequiredFieldValidator-ControlToValidate="TAB">
    </ColumnValidationSettings>
</telerik:GridBoundColumn>
Pavlina
Telerik team
 answered on 27 Mar 2013
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?