Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
326 views

Hi,
I have a situation where i have RadUpload inside a UserControl and the usercontrol is wrapped inside an update panel on the aspx page. The aspx page needs the update panel so that it can render different user controls based on a radMenu selection.

In the Usercontrol -> for Radupload I have setup automatic file saving to a TargetFolder, also the button on the page generates full postback, still the image is not getting saved. There is no update panel in the usercontrol, but on the aspx page.

Can you suggest why this could be happening ? Your help is much appreciated.

Thanks,
Jeeva
Peter Filipov
Telerik team
 answered on 24 Aug 2011
1 answer
161 views
Hi,
i want to open rad confirm by condition on the server side.
means.
suppose below is the server side code.
if(i=6)
{
 //Rad Confirm should be opened
}

and after opening Rad confirm on the clicking OK and cancel button
server side event should be trapped.

please reply soon.
Shinu
Top achievements
Rank 2
 answered on 24 Aug 2011
2 answers
113 views
Hey

I am new to Telerik and I am trying to set the Footer ToolTip in RadGrid.

Can some one advice me how to do that?

Thanks

Joe
Joseph
Top achievements
Rank 1
 answered on 24 Aug 2011
3 answers
110 views
Hi,

I want to have Cancel button which will cancel all ongoing uploads. On clicking Cancel it should ask confirmation first. How can I achieve this?

Thanks & Regards
Sanjivani
Peter Filipov
Telerik team
 answered on 24 Aug 2011
1 answer
130 views
Hi,

While expanding the treeview node,the first child node should get selected by default.
Can anybody help me

Princy
Top achievements
Rank 2
 answered on 24 Aug 2011
4 answers
186 views
Hi,
I've a Checkbox, with a custom validator:
<asp:CheckBox ID="Datenschutz" runat="server" />
<asp:CustomValidator ClientValidationFunction="ValidateDatenschutz" runat="server" ID="DatenschutzValidator" CssClass="..." ErrorMessage="<br/>..." />
The RadButton is here:
<telerik:RadButton ID="Submit" runat="server" Text="Speichern" OnClick="OnSubmitClick" CausesValidation="true" />

The JavaScript validation looks like this:
function ValidateDatenschutz(sender, eventArgs) {
    eventArgs.IsValid = document.all[datenschutzCheckboxId].checked;
}
(datenschutzCheckboxId is defined)
Clicking on the button in IE calls the validation function. Firefox, however, does not.

Is this a known problem, or did I make a mistake?

Thank you
René
René Hézser
Top achievements
Rank 1
 answered on 24 Aug 2011
1 answer
45 views
I have a radgrid that has 10 columns.  What I need to do is check a name in column 8 and if the name field is blank I want to turn off the link buttons that sit in columns 9 and 10.  Here is what I have that I got off a telerik help site but I cannot get at the names to work to turn off the linkbuttons.  However below does not thourhg an error but when I try to assign the text nothing happens??


 Protected Sub myGridPositions_ItemDataBound(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles myGridPositions.ItemDataBound
        For Each item As GridDataItem In myGridPositions.Items
            Dim name As TableCell = DirectCast(item("strFullName"), TableCell)
            If name.Text = Nothing Then
                turn off link buttons in columns 9, 10.
            End If
        Next
    End Sub

Princy
Top achievements
Rank 2
 answered on 24 Aug 2011
2 answers
136 views
Hi,
I am using Vista Skin for whole RadGrid and its working fine but now as per client requirement I have to change X image from GroupItems in GroupPanel. Instead of default image i have to choose a custom image. How to do it? I did some work around but as its taking Default skin i am not able to do anything.
#FYK : I want vista skin for rest of the grid.

Images are attached for better understanding (Current.jpg and I_Want.png)

Thanks.....
Rajneesh
Top achievements
Rank 2
 answered on 24 Aug 2011
1 answer
68 views
Hello,

Can i enter only one word in radtextbox?
Princy
Top achievements
Rank 2
 answered on 24 Aug 2011
5 answers
149 views
Hi,

I'm using the update feature of the grid. during the update, I use the

OnItemDataBoundHander(object sender, GridItemEventArgs e)

to prepopulate the RadComboBox as instructed within the examples. the following contains the C# code 

 

if (e.Item.IsInEditMode)  

GridEditableItem item = (GridEditableItem)e.Item;  

if (!(e.Item is IGridInsertItem))  

//this area is for update  

 

using (dl = new WellVentDataLayer())  

//For the Area section  

 

RadComboBox combo = (RadComboBox)item.FindControl("RadComboBoxArea");  

RadComboBoxItem selectedItem = new RadComboBoxItem(); 

selectedItem.Text = ((DataRowView)e.Item.DataItem)["AreaName"].ToString();  

combo.Items.Add(selectedItem);

selectedItem.DataBind();

}

}

}

and the following aspx code 

 

<telerik:GridTemplateColumn UniqueName="AreaName" HeaderText="Area" 

SortExpression="AreaName" ItemStyle-Width="150px" DataField="_AreaName"  

AndCurrentFilterFunction="Contains">  

 

<FooterTemplate

Template footer 

</FooterTemplate>  

 

<FooterStyle VerticalAlign="Middle" HorizontalAlign="Center" />  

 

<ItemTemplate

<%

#DataBinder.Eval(Container.DataItem, "_AreaName")%>  

</ItemTemplate>  

 

<EditItemTemplate>  

 

<telerik:RadComboBox runat="server" ID="RadComboBoxArea" EnableLoadOnDemand="True" DataTextField="AreaName" OnItemsRequested="RadComboBoxArea_ItemsRequested" DataValueField="ID" AutoPostBack="true" HighlightTemplatedItems="true" Height="140px" Width="100px" DropDownWidth="200px"  

 

OnSelectedIndexChanged="ComboBox1_OnSelectedIndexChangedHandler"> 

<ItemTemplate> 

<%# DataBinder.Eval(Container, "Text")%>  

</ItemTemplate>  

 

</telerik:RadComboBox>  

 

</EditItemTemplate>  

 

<HeaderStyle Width="100px" />  

 

<ItemStyle Width="100px"></ItemStyle>  

 

</telerik:GridTemplateColumn>

  

 

 

the code gave the following error on the row

Unable to cast object of type 'GHG_MCA.WellVentEvents' to type 'System.Data.DataRowView'.
 

selectedItem.Text = ((DataRowView)e.Item.DataItem)["AreaName"].ToString();  

 

thanks,
Minh Bui

Jayesh Goyani
Top achievements
Rank 2
 answered on 24 Aug 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?