Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
51 views
Hello everyone.

I have downloaded the 2012.3.1016.40 version of telerik asp.net and now I'm having a problem with tabstrip (I did not have this problem before).

My tabstrip have 3 tabs, but, when I click on the second, there are no changes on the screen! If I click on the third, no problem, but, if I click on the second after the third, I have no changes again.

ps: I have postback when I change between tabs.

What is the bug?

Regards.
Dimitar Terziev
Telerik team
 answered on 13 Nov 2012
1 answer
221 views
Hello,
 My requirment is change profile picture like ('face book' profile pic change) so i choose RadAsynUpload Control (http://demos.telerik.com/aspnet-ajax/asyncupload/examples/ajaxprocessing/defaultcs.aspx) and implemented in my app ,its working in Firefox but not working in chrome. could you please help me out.

Sourcode:

<div class="border" id="D1" onmouseover="ShowIcon('Div1','true');" onmouseout="ShowIcon('Div1','false');"
                        style="height: 110px;">
                        <a href="#" title="Famili Account Setup + Edit">
                            <telerik:RadBinaryImage runat="server" ID="Thumbnail" ResizeMode="Crop" Width="100"
                                Height="115" ImageUrl="~/Images/image-1.png" CssClass="binary-image" />
                        </a>
                        <div id="Div1" style="position: relative; top: -50px; left: 0px; z-index: 10000;
                            display: block;">                           
                            <div class="qsf-demo-canvas upload-panel">                          
                                <div class="upload">
                                    <telerik:RadAsyncUpload runat="server" ID="AsyncUpload1" MaxFileInputsCount="1" OnClientFileUploaded="fileUploaded"
                                        OnFileUploaded="AsyncUpload1_FileUploaded" AllowedFileExtensions="jpeg,jpg,gif,png,bmp"
                                        OnClientValidationFailed="validationFailed" CssClass="ru Browse" Style="display: block" OnClientFileUploadFailed ="fileUploadedFailed">
                                        <Localization Select="Edit" />
                                    </telerik:RadAsyncUpload>
                                </div>
                                <hr class="qsf-clear-float" style="display: none" />
                                <div class="invalid">
                                </div>
                            </div>
                           </div>
                    </div>

Javascript for mouse over and out :


<script type="text/javascript">
       function ShowIcon(arg1, arg2) {
             
           var img1 = document.getElementById(arg1);
           if (arg2 == 'true') {
               if (img1 != null) {
                   img1.style.display = "block";
               }
           }
           else {
               img1.style.display = "none";
           }
 
 
       }
   </script>
Plamen
Telerik team
 answered on 13 Nov 2012
3 answers
109 views
Hi,
I am trying to define a RadDatePicker as shown below:

Vasil
Telerik team
 answered on 13 Nov 2012
1 answer
76 views
I don't want to show the upload control at all.

Instead, when the user clicks the "Upload File" menu item I've created, I would like to show the normal file browser, let the user select a file from their local drive, and when they click Open, immediately start the upload.

Is this even possible?

-Dave
Plamen
Telerik team
 answered on 13 Nov 2012
7 answers
186 views
Hi,

My RadGrid has three layers of nested grids. I'm using EditForms with templates throughout.
I want not more than one edit/insert form being shown in the whole grid at the same time. How can I achieve that?

I tried several ways, but the behaviour is never really how I want it. E.g. when the insert form is displayed in the the MasterTableView, it will stay open no matter which insert/edit button I click.

If an edit form is displayed in the MasterTableView, and I click any other insert or edit button, the form is not shown, but nonetheless the Item stays in edit mode.
Maybe I need to rebind the Grid at some point?

Does anybody know the best practise?

Thank for your help,
Jens
Johan
Top achievements
Rank 1
 answered on 13 Nov 2012
2 answers
208 views
Hi,

 i have used scrolling in Bar chart.
i got an loading panel image in regions.
Find the Attachment for image and give me the solution. it's urgent.

Theo
Top achievements
Rank 1
 answered on 13 Nov 2012
1 answer
67 views

Hi all,
        I'm trying to freeze the first two columns of the grid. I'm not able to freeze it. Below is the code that I've used. Any help on this would be highly appreciated.

<

 

telerik:RadGrid ID="rgSupervisorDataEntry" runat="server" AllowMultiRowSelection="True"

 

 

SkinID="grdDynamic" ClientSettings-Scrolling-ScrollHeight="40%" AllowPaging="True"

 

 

PageSize="15" OnNeedDataSource="rgSupervisorDataEntry_NeedDataSource" Width="100%">

 

 

<headerstyle wrap="true" Width="10%" />

 

 

<mastertableview headerstyle-wrap="true" width="150%" TableLayout="Auto">

 

 

<PagerStyle Mode="NextPrevAndNumeric" AlwaysVisible="true" Width="100%" />

 

 

<Columns>

 

 

<telerik:GridClientSelectColumn UniqueName="CheckSelected" HeaderStyle-Width="10">

 

 

</telerik:GridClientSelectColumn >

 

 

</Columns>

 

 

</mastertableview>

 

 

<clientsettings allowkeyboardnavigation="true" allowcolumnsreorder="false" reordercolumnsonclient="false">

 

 

<Selecting AllowRowSelect="true" EnableDragToSelectRows="false" />

 

 

<Scrolling AllowScroll="true" FrozenColumnsCount="2" UseStaticHeaders="true" ScrollHeight="300px" />

 

 

<Resizing AllowColumnResize="true" AllowRowResize="false" ResizeGridOnColumnResize="true"

 

 

ClipCellContentOnResize="true" EnableRealTimeResize="true" />

 

 

<ClientEvents OnRowSelecting="RadGrid_RowSelecting" OnRowDeselecting="RadGrid_RowDeselecting" />

 

 

</clientsettings>

 

 

</telerik:RadGrid>

Thanks in advance!!

 

Pavlina
Telerik team
 answered on 12 Nov 2012
1 answer
107 views
Hi,

I have Rad Grid with 13 columns so i have set 

If I change the page size everything is working fine. but if i move to the last column using horizontal scroll bar and by changing the page size the columns are getting mixed.

say my page size is 5..on page load the visible columns are C1, C2, C3, C4. if i move to last columns C10, C11, C12, C13 and changing the page size to 10, the first 5 rows display C10, C11, C12, C13 where as last 5 rows display C1, C2, C3, C4.

html of my grid

<telerik:RadGrid ID="grdLineManagement" runat="server" AllowFilteringByColumn="true" AllowCustomPaging = "true"
                    EnableEmbeddedSkins="false"  Skin="eMod"
                        AllowPaging="true" PageSize="10" Width="926" GridLines="None" AllowSorting="true" OnInit="grdLineManagement_Init">
                         
                        <ClientSettings AllowColumnsReorder="false" ReorderColumnsOnClient="true">
                            <DataBinding Location="../Services/ManageLinesService.asmx" SelectMethod="GetChassisPoolLines" />
                            <Resizing AllowResizeToFit="true" AllowColumnResize="true" />
                            <ClientEvents OnCommand="grdLineManagement_Command" OnRowDataBound="grdLineManagement_RowDataBound"/>                           
                            <Scrolling AllowScroll="true" ScrollHeight=""  UseStaticHeaders="true" FrozenColumnsCount="1" />                           
                        </ClientSettings>
                        <PagerStyle AlwaysVisible="True" PageButtonCount="5" />
                        <FilterMenu EnableImageSprites="False">
                        </FilterMenu>
                        <MasterTableView TableLayout="Fixed" CommandItemDisplay="Top"
                            HierarchyLoadMode="Client" ExpandCollapseColumn-Visible="false" >
                             <CommandItemTemplate>
                                <div class='fr tm10 bm10'>Export: <asp:ImageButton ID="btnExcel" runat="server"   ImageUrl="~/IMAGES/CONTROLS/ExcelExport.jpg"  onclick="btnExcel_Click"/>
                                 <asp:ImageButton ID="btnPdf" runat="server"  ImageUrl="~/IMAGES/CONTROLS/ExportPDF.jpg" onclick="btnPdf_Click"  /></div>
                                                               
                                </CommandItemTemplate>
                            <Columns>
                        <telerik:GridButtonColumn UniqueName="Edit" HeaderStyle-Width="50" Text="Edit" CommandName="Edit">
                        </telerik:GridButtonColumn>                         
                                <telerik:GridBoundColumn HeaderStyle-Width="180" FilterControlWidth="68px" DataField="ChassisPoolLineId"
                                            HeaderText="ChassisPoolLineId" UniqueName="ChassisPoolLineId"
                                            FilterListOptions="VaryByDataType" Visible="false">
                                </telerik:GridBoundColumn>                                                      
.
.
.
.
.
.
                                 
 <telerik:GridBoundColumn HeaderStyle-Width="125" HeaderStyle-Font-Bold="true" FilterControlWidth="85px" DataField="SalesTaxRate" DataType="System.Decimal"
                                    HeaderText="Sales Tax Rate" UniqueName="SalesTaxRate"  FilterListOptions="VaryByDataType" ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="Right">
                                </telerik:GridBoundColumn>
                            </Columns>
                            <NestedViewTemplate>
                            </NestedViewTemplate>
                        <CommandItemSettings ShowAddNewRecordButton="false" ShowRefreshButton="false" ShowExportToExcelButton="true" />
                        </MasterTableView>
                                
                    </telerik:RadGrid>

Can anyone syggest me on this issue
Pavlina
Telerik team
 answered on 12 Nov 2012
1 answer
73 views
Hi, all.

I have a question regarding the RadGrid, RadDock and Javascript.  I have a page that creates dynamic docks upon the user's request.  The docks the users select will have their own separate .ascx controls loaded into them.  One of these is a RadGrid and the other is the RadScheduler (both may or may not be loaded, depending on the user's configuration).  I've seen the demo where a grid row is dragged to the scheduler, but I'm having some trouble replicating it since I can't use '<%= FindControl("schedCtrl").ClientID %>'; the page errors out since that control doesn't exist on the .aspx page at first. I've also tried to use eventArgs.get_destinationHtmlElement, but that only gives me the rendered div tag and not the actual control ID. 

Is there something that I've missed or is there another way to get to the control's ClientID inside of another dynamic control?
Pavlina
Telerik team
 answered on 12 Nov 2012
3 answers
101 views
I have a very tricky task that I must perform. What I need to be able to do is allow a user to Past a section of Excel cells into a radeditor then on the C# side read those cells into an XMLDocument. I see that the radeditor has a HTML content view and I was hoping that I could read the html, parse it after reading it into xml format. If this is possible could you give me some guidance as to the best way to do this. I know that this is non-standard but any help would be great!!!!

Thanks,

Steve Holdorf
Steve Holdorf
Top achievements
Rank 1
 answered on 12 Nov 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?