Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
52 views
Hello

I Have a Grid in hierarchy mode (3 level).
In last level , in edit Form Template i have a ComboBox (LoadOnDemand) with a Linq DataSource.

I need to this dataSource , 'where expression' add a parameter.
This Parameter Value is in Grid Level 2 (att.) ... (DataKeyValue / Relation ID)

How ... ?
Hamid
Top achievements
Rank 1
 asked on 22 Jun 2013
2 answers
148 views
The required field validator for radcombobox seems to activate only when the selected item has no text. Shouldn't it be activating when the selected item has no value instead? If I want to set some default text in the combo box, such as "Please choose a value", like the example below, what do I have to do to to make the required field validator activate when the first item is chosen? (Value = "" Text ="Please choose a value"

<telerik:RadComboBox ID="RadComboBox1" runat="server" AutoPostBack="true" OnSelectedIndexChanged="RadComboBox1_SelectedIndexChanged"
 SkinID="DropDownList" TabIndex="17" Width="240px">
    <Items>
        <telerik:RadComboBoxItem Value="" Text="Please choose a value" />
        <telerik:RadComboBoxItem Value="value2" Text="item2" />
        <telerik:RadComboBoxItem Value="value3" Text="item3" />
        <telerik:RadComboBoxItem Value="value3" Text="item3" />
    </Items>
</telerik:RadComboBox>
<asp:RequiredFieldValidator ID="rfvCountry" runat="server" ControlToValidate="RadComboBox1"
    ErrorMessage="Country is required" SkinID="RequiredFieldValidator">
</asp:RequiredFieldValidator>
"Please choose a value"
Joey
Top achievements
Rank 1
 answered on 22 Jun 2013
9 answers
127 views
Hello,

When MarkFirstMatch is set to false, the web 20 skin renders the input box as all blue, whereas when MarkFirstMatch is true, it renders an input box as white.  Out of curiosity, why is that, and what specific skin sets the whole input area to a blue gradient?

Thanks.
AratiS
Top achievements
Rank 1
 answered on 21 Jun 2013
7 answers
1.6K+ views
With the following code, able to retrieve data source. But if we apply any filter in the grid it is returning all the data instead of filtered.  

protected void RadGrid1_PreRender1(object sender, EventArgs e) 
        { 
            DataSet ds = (DataSet)RadGrid1.DataSource; 
        } 

Any Suggestions?
James
Top achievements
Rank 1
 answered on 21 Jun 2013
2 answers
112 views
Hi,
I was using a RadGrid while enabling its freezing columns width RTL direction. All thing works OK, except that i found horizontal scroll does not work for frozen columns in FireFox (When direction is RTL). 
Since my essential skills are at client side, so I checked some client side scripts of RadGrid, and, I found issue happens by below js function:

"Telerik.Web.UI.GridScrolling.prototype.onGridFrozenScroll"
in line:  x = Math.floor(c.scrollLeft / r * 100);

c.scrollLeft has a negative value on FireFox, when RadGrid is in RTL direction.

For now, I overwrote this function and wrapped c.scrollLeft  width Math.abs function. and now it works OK.
I was using RadControl for Asp.Net Ajax Q3 2011. 


Julian
Top achievements
Rank 1
 answered on 21 Jun 2013
13 answers
488 views
I know that the Gauge is a brand new offering to the ASP.NET controls collection.  I am working on an ASP.NET web application to mimic a similar Windows client using the Telerik WPF controls.  Obviously the WPF controls have a great number more options for display.  I was wondering if there are any ideas from anyone on how to implement some of these control options using the ASP.NET controls?  

In particular are the bezel color around the different radial controls, including the semi-circle and quadrant style radial gauges.  The back ground when set shows a square background for radial gauges.  Is there anyway for this background to be a circle instead of a square?  Any expectations of more control to the Gauge controls in the near future?

Thanks,

James
Danail Vasilev
Telerik team
 answered on 21 Jun 2013
4 answers
209 views
Let's say I have the following Grid.

<telerik:RadGrid runat="server" ID="MyGrid">
  <MasterTableView>
    <Columns>
      <telerik:GridTemplateColumn UniqueName="DDLCol" HeaderText="PSO Standard Setting">
        <ItemTemplate>
          <asp:DropDownList runat="server" AutoPostBack="True" ID="DDL" OnSelectedIndexChanged="DDL_SelectedIndexChanged" />
        </ItemTemplate>
      </telerik:GridTemplateColumn>
    </Columns>
  </MasterTableView>
</telerik:RadGrid>

with the following Handler.

Protected Sub DDL_SelectedIndexChanged(ByVal sender As Object, ByVal e As EventArgs)
    'Do Some stuff here.
End Sub

Execution never reaches this event handler.  What am I missing, or how could I better solve this problem?

I've also tried attaching the handler in the ItemDataBound event, but this also has not worked.

Private Sub MyGrid_ItemDataBound(sender As Object, e As Telerik.Web.UI.GridItemEventArgs) Handles MyGrid.ItemDataBound
            If TypeOf (e.Item) Is GridDataItem Then
                Dim item As GridDataItem = CType(e.Item, GridDataItem)
 
                Dim DDL As DropDownList = item.FindControl("DDL")
               'databind the drop down list (this works fine of course)
 
                AddHandler DDL.SelectedIndexChanged, AddressOf DDL_SelectedIndexChanged
            End If
        End Sub
Matthew
Top achievements
Rank 1
 answered on 21 Jun 2013
5 answers
141 views

Dear Telerik,

We have a problem with exporting numbers from GridHyperLinkColumn to Excel (Biff). They do get transferred to Excel but are stored as Text.
How can I make sure the values are converted to numbers (column.DataType is Int32)?

Thanks,
Elena.

Elena
Top achievements
Rank 1
 answered on 21 Jun 2013
4 answers
199 views
I have a RadGrid that is bound to an ObjectDataSource.  The grid has automatic insert, update and delete set to "true".  How can I get the grid to cancel out of edit mode when I click Insert?  I would also like to know how to cancel out of insert mode when I click to edit a row.

Thanks.
Duy
Top achievements
Rank 1
 answered on 21 Jun 2013
1 answer
74 views
Is RadTileList supported?

I'd like to save the layout after a user drags/drops tiles.
Vessy
Telerik team
 answered on 21 Jun 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?