Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
275 views
Hi,

I am using the line chart to display about 1000 points (could be more), so I thought I would use the inbuilt scrolling feature and everything looked perfect for less data points (for about 250) but when the number increased the vertical grid lines and the X-Axis labels were so close to each other it become  unreadable. (please find the attached telerik.jpg)

So we tried setting the width dynamically based on the number of data points and wrap it within a div with scrolling, it works but the problem is that the generated image has a blank space in the left & right side.. (please find the attached telerik2.png).

Questions:
1. How to dynamically set the distance between the Grid Lines so that they don;t render closer (for option 1 discussed above)
2. How to remove the blank spaces (for option 2 discussed)
3. Is there any other option or setting, I should consider?

I really appreciate your help on this..

Thanks
Sathish



  
Ves
Telerik team
 answered on 30 Aug 2011
1 answer
67 views
Hello Telerik Team,

 I just would like to enable or disable rowdouble click property of radgrid from serverside based on user permission.

How can I do this??

Thanks.
Andrey
Telerik team
 answered on 30 Aug 2011
5 answers
139 views
I am using your sample code to upload image to the database.
http://demos.telerik.com/aspnet-ajax/controls/examples/integration/raduploadinajaxifiedgrid/defaultcs.aspx

The example works fine when i am using only one image upload feature. Since my table has three image columns for different reasons, I am unable to modify the code for inclusion of multiple uploads for each column. Can u share any sample code as i am getting an error "System.InvalidCastException: Object must implement IConvertible.". I am unable to fix it. I am trying below mentioned code.

   function conditionalPostback(sender, eventArgs) {
                    var theRegexp = new RegExp("\.UpdateButton$|\.PerformInsertButton$", "ig");
                    if (eventArgs.get_eventTarget().match(theRegexp)) {
                        var upload = $find(window['UploadId']);
                        var uploadmid = $find(window['UploadIdMid']);
                        var uploadthumb = $find(window['UploadIdThumb']);
  
//                         Test script for all
                        if (upload.getFileInputs()[0].value != "" || uploadmid.getFileInputs()[0].value != "" || uploadthumb.getFileInputs()[0].value != "") {
                            eventArgs.set_enableAjax(false);
                        }
     }
}
Radoslav
Telerik team
 answered on 30 Aug 2011
1 answer
141 views
I have 5 radbuttons on a page.  Initially the radbuttons display just fine.  The buttons are all within a RadAjaxPanel.  The function of one of the buttons is to update a RadGrid on the page.  When this button is clicked, the RadGrid updates correctly, but all five buttons on the page disappear.  I am using IE8 and the behavior only happens when I am running in compatibilty mode.  Some users for this project may use IE6 or IE7.  Any help will be appreciated.

Thanks,
-Dan

 

Shinu
Top achievements
Rank 2
 answered on 30 Aug 2011
6 answers
257 views
I want the default font size for text boxes and masked text boxes to be 12px in size.  I had a previous problem with combos and was issed with a css fix which worked ok for combos but doesnt seem to work for text boxes, here what ive tried

.RadTextBox_Vista .rcbInputCell .rcbInput {     
    font-size: 12px !important;     
    padding: 2px 0 2px 1px !important;     
}     
    
.RadTextBox_Vista .rcbArrowCell a{     
    height: 20px !important;     
}  
 
can anyone tell me why this wont work ?
Shinu
Top achievements
Rank 2
 answered on 30 Aug 2011
1 answer
103 views
Hello, i have a problem that only happens if i use the code bellow :
<div>
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="RadGrid1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Black" />
    </div>--%>

The problem is i have a RadGrid with the exportToCSV button, when i click on this button without using the code above, everything works fine...But if I added the code above the export will be done directly on the RadGrid instead of on to a .csv file.....

Can you help?

RadGrid code:
<br />
<%--    <div>
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="RadGrid1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Black" />
    </div>--%>
    <table>
        <tr>
            <td>
                <telerik:RadButton ID="ShowProcessed" runat="server" Text="Show Processed" Skin="Black"
                    Width="110px" Height="40px" OnClick="ShowProcessed_Click">
                </telerik:RadButton>
            </td>
            <td>
            </td>
            <td>
                <telerik:RadButton ID="ShowUnProcessed" runat="server" Text="Show Unprocessed" Skin="Black"
                    Width="120px" Height="40px" OnClick="ShowUnProcessed_Click">
                </telerik:RadButton>
            </td>
        </tr>
        <tr>
            <td>
            </td>
        </tr>
    </table>
    <telerik:RadGrid ID="RadGrid1" runat="server" GridLines="None" AllowPaging="True"
        AllowSorting="True" AutoGenerateColumns="False" Width="97%" enableajax="True"
        AllowFilteringByColumn="True" ShowFooter="True" Skin="Black" OnItemCommand="RadGrid1_ItemCommand"
        OnGridExporting="RadGrid1_GridExporting" AllowMultiRowSelection="True" OnNeedDataSource="RadGrid1_NeedDataSource">
        <PagerStyle Mode="NextPrevAndNumeric"></PagerStyle>
        <ClientSettings AllowColumnsReorder="True" ReorderColumnsOnClient="True" EnablePostBackOnRowClick="true">
            <Selecting AllowRowSelect="True" />
        </ClientSettings>
        <MasterTableView DataKeyNames="SequencialNumber" Width="100%" CommandItemSettings-ShowExportToCsvButton="True"
            CommandItemSettings-ShowAddNewRecordButton="false" CommandItemDisplay="Top">
            <Columns>
                <telerik:GridBoundColumn DataField="SequencialNumber" HeaderText="SequencialNumber"
                    UniqueName="SequencialNumber" SortExpression="SequencialNumber">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Priorities.Priority" HeaderText="Priority" UniqueName="Priority"
                    FilterControlAltText="Filter Priority column" SortExpression="Priorities.Priority"
                    DataType="System.Int32">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Staging.Process" HeaderText="Staging" UniqueName="Process"
                    SortExpression="Staging.Process" FilterControlAltText="Filter Process column">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="SupplierCode" HeaderText="SupplierCode" UniqueName="SupplierCode"
                    SortExpression="SupplierCode" FilterControlAltText="Filter SupplierCode column">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="MessageStatus" HeaderText="MessageStatus" UniqueName="MessageStatus"
                    SortExpression="MessageStatus" FilterControlAltText="Filter MessageStatus column">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="DocumentType" HeaderText="DocumentType" UniqueName="DocumentType"
                    FilterControlAltText="Filter DocumentType column" SortExpression="DocumentType">
                </telerik:GridBoundColumn>
                <telerik:GridDateTimeColumn UniqueName="InvoiceCreationDate" DataField="InvoiceCreationDate"
                    HeaderText="InvoiceCreationDate" FilterControlAltText="Filter InvoiceCreationDate column"
                    SortExpression="InvoiceCreationDate">
                    <FilterTemplate>
                        <telerik:RadDatePicker ID="RadDatePicker1" runat="server">
                        </telerik:RadDatePicker>
                    </FilterTemplate>
                </telerik:GridDateTimeColumn>
                <telerik:GridBoundColumn DataField="SupplierVatNumber" FilterControlAltText="Filter SupplierVatNumber column"
                    HeaderText="SupplierVatNumber" SortExpression="SupplierVatNumber" UniqueName="SupplierVatNumber">
                </telerik:GridBoundColumn>
            </Columns>
            <ExpandCollapseColumn Visible="False">
                <HeaderStyle Width="19px"></HeaderStyle>
            </ExpandCollapseColumn>
            <CommandItemSettings ShowAddNewRecordButton="False" ShowExportToCsvButton="True">
            </CommandItemSettings>
            <RowIndicatorColumn Visible="False">
                <HeaderStyle Width="20px" />
            </RowIndicatorColumn>
            <EditFormSettings>
                <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                </EditColumn>
            </EditFormSettings>
        </MasterTableView>
        <FilterMenu EnableImageSprites="False">
        </FilterMenu>
        <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default">
        </HeaderContextMenu>
    </telerik:RadGrid>
Shinu
Top achievements
Rank 2
 answered on 30 Aug 2011
3 answers
213 views
Hi,
Can anyone tell me how to select a radgrid row from client side by clicking a radio button.Beacuse I am taking the selected row in the code behind to save the data.
(Currently I am achieving this by a post back. I want to avoid post back so that I can make some client side validations.)

Or is there any way to get the datakey value from the checked radiobutton?

Thanks in advance
AJITH
Princy
Top achievements
Rank 2
 answered on 30 Aug 2011
1 answer
211 views
hello all

I have a RadGridView and I want to extract data from a row using a RadioButton and send to a label.
how can do this action?


Thank you for your attention.

Have a nice day!
Shinu
Top achievements
Rank 2
 answered on 30 Aug 2011
3 answers
141 views
Hi,

Can somebody tell me if it is possible to set the combo box outer border? I say outer border because
it appears that by using the properties giving in visual studio to set the border only set the inner border.
but the border around the combo box will remain which ever color in used by the skin you choose. I've
search high and low, will really appreciate your help, I also attached a photo example.

Thanks,
Ron
Shinu
Top achievements
Rank 2
 answered on 30 Aug 2011
2 answers
98 views
Hello all,

  When I update version of telerik to newest (2011.1.519.35) and then i have an example: click radmenu to open a popup. But With IE9 i 've a problem: the popup is not focus like Firefox or google chorme..

i've an eaxmple "TestPopupIE9" below: http://www.mediafire.com/?gdwcci7w6yd3r9r

Please help me fix this.

thank you!

nguyen
Top achievements
Rank 1
 answered on 30 Aug 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?