Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
124 views
Hi!

We are using a RadGrid to display some elements... In the "ClientSettings" section, we added "<ClientEvents OnRowClick="rowClick" />" to call a JS function when a row is clicked...

In that function, we have some code that checks if the row that the user just clicked was already selected. If it was, it calls the method "set_selected(false)" on the selected element and disable buttons.

This is working perfectly with IE8... But won't work in Chrome, Firefox, or IE10... In those browser, the element is actually unselected, but the selected style stays. So the row looks like it's still selected. I also tried to call "clearSelectedItems()" on the radgrid and i have the same problem... Any workaround / plans to resolve this problem?
Marc-André
Top achievements
Rank 1
 answered on 26 Jul 2013
5 answers
682 views

I am dynamically greating columns and assigning a sequence as their name.  How do I get the columns name of the column I have selected?

        For Each column As DataColumn In odt.Columns

            Dim boundColumn As GridBoundColumn

            boundColumn = New GridBoundColumn()
            dgCompGrid.MasterTableView.Columns.Add(boundColumn)

            With boundColumn
                .DataField = column.ColumnName
                .UniqueName = "dgX" & i
                .Display = True
                .HeaderText = column.ColumnName
                .HeaderStyle.ForeColor = Color.Black
                .HeaderStyle.BackColor = Color.White
                .HeaderStyle.Font.Bold = True
                .ItemStyle.Font.Size = 8
                .ItemStyle.ForeColor = Color.Gray
                .ItemStyle.HorizontalAlign = HorizontalAlign.Left
                .HeaderStyle.Font.Size = 8

            End With
            i = i + 1
        Next 'i




So each column will be named dgX1, dgX2 and so on... I just will never know how many so I need be able to get the columns name depending on the cell I have selected in the grid.  Also I need the row number. 

vb code

Thanks,

Konstantin Dikov
Telerik team
 answered on 26 Jul 2013
3 answers
390 views

First up I know I'm being lazy, but the button is in a user control, and using the request.form is easier than recreating the user control on postback and getting the value.
 
That said how would I get the checked value of a RadButton that is configured as a toggle button to look like a checkbox? The data is in the form :

{"text":"","value":"","checked":true,"target":"","navigateUrl":"","commandName":"","commandArgument":"","autoPostBack":false,"selectedToggleStateIndex":0,"validationGroup":null,"readOnly":false}

 
Its the Checked value I need. .

Andy

Danail Vasilev
Telerik team
 answered on 26 Jul 2013
4 answers
12.7K+ views
Is it possible to place "reportingto" nodes within a group?
Scenario is quite simple really...

You have your Manager
Manager is head of Teams
Within the Teams are groupd of people all reporting to each other.
Also the way to report to different managers within groups in ne area appears to be missing... I can work aroud that though (I think)
Anyway...

Bob is Manager
Web Team is a team
Sinead is Manager
Bill works for Sinead in Web Team

Catch my drift?
John
Top achievements
Rank 1
 answered on 26 Jul 2013
1 answer
83 views
Hi,


We are using Telerik release   Q2 2013 version. Update panel is not working in Raddock. As suggested by Telerik team in previous post , we successfully implemented Update panel in previous versions of Telerik controls.Now, with this new version, it is not working.
Please look into this..

Thanks
Purojit

Slav
Telerik team
 answered on 26 Jul 2013
1 answer
253 views
Hi,

I want to set Text for TextBox in RadAsyncUpload control (not for Button)

If possible, when databinding i want to set the text for that.

Thank you,

Regards,
AGMRAJA
Hristo Valyavicharski
Telerik team
 answered on 26 Jul 2013
1 answer
71 views
We recently upgraded to the latest version of Telerik and at the same time moved our websites to .net 4.5. Now the Panelbars that we've had in place for years don't seem to be expanding completely leaving the top lines partially covered by the level above. We're just using the Default skin. The problem exists in both Chrome and IE and we've tried it in multiple browser versions. I've attached a screen shot.  Is there a way we can add padding to the top line?

   
Boyan Dimitrov
Telerik team
 answered on 26 Jul 2013
1 answer
82 views
Just wondering what this menu is called. It is boxed in red in the attached image. It appears when clicking the Month Year (July 2013) in the smaller calendar.

Also, what CSS do I use to change the formatting of it? Basically, I just want to change the month and year entries to be black text.

Thanks,
Kerry Wano
Boyan Dimitrov
Telerik team
 answered on 26 Jul 2013
1 answer
340 views
Hi,
I am using Radchart Control for Chart reporting. I am getting error while Loading Radchart Image.One of the Folder which is under the Login is going correct and loading chart successfully but the other one which is outside not working please need help.. Ongoing Project.


Regards.
Petar Kirov
Telerik team
 answered on 26 Jul 2013
1 answer
329 views
Hi there,

Firstly - yes I'm aware support for mobile Safari is shaky at best from googling about before posting this to try and find a solution to my RadGrid woes but well... I've been tasked to fix a part of our system which obviously is not working as it should on iPad from the subject of this post.

Issues: -
  1. As soon as you move your finger(s) to attempt to scroll it actually lifts the whole row in an attempt to drag it seemingly.
  2. The rest of the page starts to incrementally zoom out every moment you keep your finger(s) on the screen after the cell "picks up".

So in summation the only way to scroll currently is using AutoScrollOnDragDrop = true. Which as I'm sure you can understand is a nightmare considering while your trying to do this the screen is zooming out, causing other elements to distort and everything to shifted about...

Ok so, this is the aspx code we currently have for the RadGrid: -

<telerik:RadGrid runat="server" ID="TasksGrid" Width="100%" Height="642px" AutoGenerateColumns="false" AllowPaging="false" AllowFilteringByColumn="false" EnableViewState="false" CssClass="TasksGridClass">
     <GroupPanel Enabled="False">
         <PanelItemsStyle BorderColor="Red" />
     </GroupPanel>
     <MasterTableView ClientDataKeyNames="UniqueId,AllowOpenActivity">
         <GroupByExpressions>
             <telerik:GridGroupByExpression>
                 <SelectFields>
                     <telerik:GridGroupByField FieldName="ResourceName" HeaderText="Resource" />
                 </SelectFields>
 
                 <GroupByFields>
                     <telerik:GridGroupByField FieldName="ResourceName" HeaderText="Resource" />
                 </GroupByFields>
             </telerik:GridGroupByExpression>
         </GroupByExpressions>
 
         <Columns>
             <telerik:GridBoundColumn HeaderText="Tasks" Groupable="False"/>
         </Columns>
 
         <ItemTemplate>
             <%#TaskDisplayInfo.RenderGridRow(Container.DataItem)%>
         </ItemTemplate>
         <CommandItemSettings ExportToPdfText="Export to Pdf"></CommandItemSettings>
     </MasterTableView>
     <GroupingSettings CaseSensitive="False" />
     <ClientSettings AllowRowsDragDrop="False" AllowDragToGroup="False" >
         <Scrolling AllowScroll="true" UseStaticHeaders="true" SaveScrollPosition="true" />
         <Selecting AllowRowSelect="true" />
         <ClientEvents OnRowDblClick="OnTaskGridRowDoubleClick" />
         <Resizing AllowColumnResize="False" />
     </ClientSettings>
 </telerik:RadGrid>1

I've also attempted to add the following snippet found somewhere amongst the RadControl documentation with no joy (called in the init method called onload of the body): -

var touchScroll = false;
function initializeMobile() {
    if (Telerik.Web.UI.TouchScrollExtender._getNeedsScrollExtender() && !touchScroll) {
        touchScroll = new Telerik.Web.UI.TouchScrollExtender('body', { autoScan: true });
        touchScroll.initialize();
    }
}
 
Telerik.Web.UI.TouchScrollExtender._getNeedsScrollExtender = function () {
    return $telerik.isMobileSafari || $telerik.isAndroid;
};


So.... yea. From what I've read it is supposed to be a bit more functional than this so guessing I might be missing something.

Any input appreciated and thanks for reading
Marin
Telerik team
 answered on 26 Jul 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?