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

I am loading large data in Grid using Virtual scroll and paging. Grid has Template column where datetime picker is displayed to select date.
In this case I can not enter dates for last 2 or 3 records of current page  as when i scroll down for last records the next page is loaded and I will not see the records. Please advise a solution for this.

Thanks & Regards
Himagiri
Princy
Top achievements
Rank 2
 answered on 24 Jun 2013
6 answers
564 views

Hello, I use RadGrid in edit mode and I want to get cell value after changing it.

When I use UpdateCommand event, I get old value before changing.

 

 

protected

 

 

void gridEdit_UpdateCommand(object sender, GridCommandEventArgs e)

 

 

{

 

 

 

    GridEditableItem editItem = (GridEditableItem)e.Item;

 

 

 

 

    //TextBox txtbox = (TextBox)editItem["Value"].Controls[0]; //access the value

 

 

 

 

    string value = (editItem["Value"].Controls[0] as TextBox).Text;

 

 

 

 

}

 

 

 

 

<telerik:RadGrid ID="gridEdit" runat="server" GridLines="None"

 

 

 

 

 

onupdatecommand="gridEdit_UpdateCommand"

 

 

 

<MasterTableView

 

 

 

 

 

EditMode="InPlace">

 

 

 

 

 

<Columns>

 

 

 

 

 

<telerik:GridEditCommandColumn />

 

 

 

 

 

</Columns>

 

 

 

 

 

</MasterTableView>
</telerik:RadGrid>

 

 

 

 

 

 

 

 

 

Jorge
Top achievements
Rank 1
 answered on 24 Jun 2013
1 answer
73 views
In a form aspx page I have some controls as embedded userControl. This is as I include userControl :

<telerik:RadAjaxPanel ID="RadAjaxPanel000" runat="server" LoadingPanelID="RadAjaxLoadingPanel000">  
...
  <ardc:MyDataFormCtrl runat="server" ID="MyDataCtrl1" />


I set an entity to a property control from vb.aspx code:

Dim myEntityData= ctx.AnualitatsDeRecerca.Where(Function(x) x.Id = ... ).FirstOrDefault()
MyDataCtrl1.Item = myEntityData


All runs well because data is displayed on navigator:

Public Property Item As MyEntityType
    Get ...
    Set(value As MyEntityType)
        _item = value
        txtDescription.Text = Item.someItemData
    End Set
End Property


Problem appears when 'save' button is pushed, there, my private _item is Nothing:

Private Sub ButtonItemSave_Click(sender As Object, e As System.EventArgs) Handles ButtonItemSave.Click
    'here Me.Item, also, me._item, is Nothing!! what happens?


How can I do to keep Me.Item (and Me._item) populated?
Sorry, perhaps question is not enough detailed, I have include relevant code, ask for more details if needed.







Daniel
Top achievements
Rank 1
 answered on 23 Jun 2013
0 answers
92 views
I like to produce a application with asp .net. I require some tricks to control the software till 60% money is recovered. Suppose I may write any thing that will executed in a specific date and time may be by denied access to application (through username and password) with a message "you may not have permission". If money is recovered and can be omitted the code remotely.
Khalid
Top achievements
Rank 1
 asked on 22 Jun 2013
0 answers
87 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
167 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
190 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.7K+ 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
146 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
567 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
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?