Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
107 views
I am using the RadUpload control and have an issue with it, as follows:

When the submit button is clicked without selecting any file in the upload control, a postback occurs but the button logic isn't called.  The form is then cleared with no error message displayed.

How can I detect this condition (no upload file specified) and handle it in a more graceful manner?
Genady Sergeev
Telerik team
 answered on 23 Sep 2010
5 answers
1.0K+ views
Hi All,

I am using telerik Rad Grid in my applilcation.I have placed a text box in the header of one column of this rad grid.

I am able to find the control of header and text box but my problem is that I am not able to get the text typed in that text box.
Here I am typing the code how I am finding the control of header and text box.

Dim header as Gridheaderitem=TryCast(RadGrid1.mastertableview.GetItemTypes(Getitem.header)(0),Gridheaderitem)
Dim textbox as textbox=Ctype(header.findControl("textbox"),textbox)
Dim strtext as string=textbox.text

Please see this if anyone is able to solve this problem...thanx in advance.

shubham
Princy
Top achievements
Rank 2
 answered on 23 Sep 2010
3 answers
215 views
Hello,
I'm using with the RadGrid for display and edit data.
I want to set the DataSource at runtime, so in Page_Load i put:
myGrid.DataSource = myList;
myGrid.DataBind();

I have 2 problems with that:
1. for the first time data ara well but the next time that comes to Page_Load 
  a fall occurs.
2. the data are presented also without the DataBind,
    but the next time that comes to Page_Load the changes that made on the grid disappear.

Can you refer me to a grid of receiving data at runtime and not by DataSourceID, and Lets to edit

Thanks.





Nikolay Rusev
Telerik team
 answered on 23 Sep 2010
1 answer
103 views
The text editor in DNN may exploit a security risk.

If the editor is placed on a page, say for a registered user updating their profile's bio, the Image Manager, Document Manager, etc. gives the user access to the portal root, where they can delete, upload, rename images, docs, etc. along with looking at the directory structure.  They could easily, through the Doc Manager, add a link in their bio to a restricted document and, once the bio is saved, click on the link to download the file.

The managers need to be disabled or localized to the logged in user's directory (/Portals/PortalId/Users/UserId/UserId).

Thanks,
Joshua
Dobromir
Telerik team
 answered on 23 Sep 2010
3 answers
130 views
i am having a issue with RadMaskedTextBox using Prometheus 3.1218.2070.

the empty message does not display

<telerik:RadMaskedTextBox ID="RadMaskedTextBox1" runat="server" 
                EmptyMessage="MM/YYYY" Mask="##/####" DisplayMask="##/####" > 
</telerik:RadMaskedTextBox> 

Pavel
Telerik team
 answered on 23 Sep 2010
3 answers
58 views
My program seems to work fine without it but I am nervous about removing it.

 protected void RadGrid1_ItemCreated(object sender, Telerik.Web.UI.GridItemEventArgs e)
    {
        if (e.Item is GridEditableItem && e.Item.IsInEditMode)
        {
            if (!e.Item.OwnerTableView.IsItemInserted)
            {
                GridEditableItem item = e.Item as GridEditableItem;

                GridEditManager manager = item.EditManager;

                GridTextBoxColumnEditor editor = manager.GetColumnEditor("CustomerID") as GridTextBoxColumnEditor;

                editor.TextBoxControl.Enabled = false;
            }

        }
    }

Nikolay Rusev
Telerik team
 answered on 23 Sep 2010
1 answer
115 views
I am using version 2009.3.1314.35 of the Telerik controls.

When I place a datetimepicker control on an empty form, I am expecting to see a control.SelectedTime property. However, I don't see it.

<

 

telerik:RadTimePicker ID="RadTimePicker1" runat="server">

 

 

</telerik:RadTimePicker>

Inside my designer file, I have the following:

 

 

/// <summary>

 

 

 

 

 

/// RadTimePicker1 control.

 

 

 

 

 

/// </summary>

 

 

 

 

 

/// <remarks>

 

 

 

 

 

/// Auto-generated field.

 

 

 

 

 

/// To modify move field declaration from designer file to code-behind file.

 

 

 

 

 

/// </remarks>

 

 

 

 

 

protected global::Telerik.Web.UI.RadTimePicker RadTimePicker1;

 

 


How can I get this property value to appear in the code behind?

Shinu
Top achievements
Rank 2
 answered on 23 Sep 2010
1 answer
191 views
In RADGrid, how to make 'Enter' key to accept the change in a popup edit form and return to parent grid control?

What it does now is when I press 'Enter' in a popup edit form, it pops up another edit form for another grid control in the same window. How could that happen?

Ken
Shinu
Top achievements
Rank 2
 answered on 23 Sep 2010
3 answers
680 views
Hi,

I have a grid with 5 columns, what I want to do is when editing a row, only the 5th column is editable, columns 1-4 should remain as it is, is this possible? can you please point me to a good example.

Thanks in advance
John
John
Top achievements
Rank 1
 answered on 23 Sep 2010
4 answers
482 views
Hello All,

Can anyone help me to solve this problem.

1) I have a normal IE window, when i click on button, it should open a completely new Radwindow and close the parent window. 
     Currently its opening in same window.

2) From Child window, hope it can open popups and should not be a problem.

Any solution will be really appreciated.

Regards
Sudhakar
sudhakar
Top achievements
Rank 1
 answered on 23 Sep 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?