Protected Sub RadGrid1_ItemCommand(sender As Object, e As Telerik.Web.UI.GridCommandEventArgs) Handles RadGrid1.UpdateCommand Dim argument As Telerik.Web.UI.GridBatchEditingEventArgument = TryCast(e.CommandArgument, Telerik.Web.UI.GridBatchEditingEventArgument) Dim oldValues As Hashtable = argument.OldValues Dim newValues As Hashtable = argument.NewValuesHi,
I would like to insert an image and text from the code behind once user has uploaded a photo with ability to re-position both (inserted image and text).
Currently I have followed this Demo to achieve uploaded image and showing into rad image editor correctly but same time i would like to insert an overlay image (e.g. water mark/company logo) and some text before showing it into rad image editor from the code behind (or may be from the client side - if possible).
Also both (inserted image and text) should be allowed to re-position once it is shown in rad image editor.
Any help would be really appreciated.
Regards,
Chintan

Hello,
we generated DockZones and Docks dynamically in the Code Behind (Page_Init):
RadDock radDock = new RadDock(){ ID = "dock_" + dock.Id, ClientIDMode = ClientIDMode.Static, UniqueName = dock.Id, DockMode = DockMode.Docked, BorderWidth = new Unit(0), EnableRoundedCorners = true, DefaultCommands = DefaultCommands.ExpandCollapse, CommandsAutoPostBack = true,};dockZoneControl.Controls.Add(radDock);Our Problem is, that nothing happend by clicking the Collapse-Button.
I hope someone can help me.
Hi,
Can you clarify if/when support for this framework version has ended? The page http://www.telerik.com/aspnet-ajax/tech-sheets/net-support says its in Limited support yet the description of support policy suggests that it should be in Extended or not supported at all.
thanks
I encouter a strange behavior when I try to de-duplicate a grid with this code:
Protected Sub dtgProducts_ItemCreated(sender As Object, e As GridItemEventArgs) If (TypeOf (e.Item) Is GridDataItem) Then Dim item As GridDataItem = DirectCast(e.Item, GridDataItem) Response.Write(ProductMem & "-" & item.GetDataKeyValue("ProductCode") & "<br>") If item.GetDataKeyValue("ProductCode") = ProductMem Then 'ontdubbelen voor de zoekfunctie item.Display = False End If ProductMem = item.GetDataKeyValue("ProductCode") End IfEnd Sub
With four data items with ProductCode 106901AS404, the output is:
106901AS404-106901AS404
106901AS404-106901AS404
106901AS404-106901AS404
106901AS404-106901AS404
So how could ProductMem already be set on '106901AS404' in the first loop when no preceding item exists?
Please reply soonest, this is an urgent one...
Thanks,
Marc
Hi
The problem I am having is that when I put a RadAjaxPanel around my RadMap a postback to update the RadClientDataSource needs to be clicked twice in order for the select url to be called. It works fine if I remove the ajax panel.
<telerik:RadAjaxPanel runat="server"> <telerik:RadTabStrip ID="connectionsTabStrip" runat="server" MultiPageID="connectionsMultiPage"> <Tabs> <telerik:RadTab Text="Map" PageViewID="mapPageView" /> </Tabs> </telerik:RadTabStrip> <telerik:RadMultiPage ID="connectionsMultiPage" runat="server"> <telerik:RadPageView ID="mapPageView" runat="server"> <telerik:RadClientDataSource runat="server" ID="tripDataSource" AutoSync="true"> <DataSource> <WebServiceDataSourceSettings ServiceType="GeoJSON" /> </DataSource> </telerik:RadClientDataSource> <telerik:RadButton ID="button" runat="server" Text="View" OnClick="button_Click" /> <telerik:RadMap runat="server" ID="tripMap"> <LayersCollection> <telerik:MapLayer></telerik:MapLayer> <telerik:MapLayer Type="Shape" ClientDataSourceID="tripDataSource"> <StyleSettings> <StrokeSettings Color="#ffffff" Width="10" /> </StyleSettings> </telerik:MapLayer> </LayersCollection> <DataBindings> <MarkerBinding DataShapeField="shape" DataTitleField="title" DataLocationLatitudeField="locationLatitude" DataLocationLongitudeField="locationLongitude" DataTooltipTemplateField="tooltipTemplate" /> </DataBindings> <CenterSettings Latitude="-32.962926" Longitude="151.699727"/> </telerik:RadMap> </telerik:RadPageView> </telerik:RadMultiPage> </div> <uc1:ExceptionArea runat="server" ID="ExceptionArea" /></telerik:RadAjaxPanel>I have some code behind on the button click "button_Click"
tripDataSource.DataSource.WebServiceDataSourceSettings.Select.Url = "/Data/GetJsonTrip.aspx";tripDataSource.DataBind();tripMap.DataSource = GetMarkers();tripMap.DataBind();If I put a break point in GetJsonTrip.aspx I can see it only gets called, on the first click, but does get called on every click after that.
If I set WebServiceDataSourceSettings.Select.Url in a partial post back, why does the indicated URL not get called after the first postback?
Thanks for any help
Matt

I am looking to do something similar to this example but instead, I want a button or link in a column to fire an event which opens up the record for editing.
Clicking the row fires a selected index changed which does something else.
The closest thing I have found is something like this:
Event DataGridView1ButtonClick(sender As DataGridView, e As DataGridViewCellEventArgs) Private Sub DataGridView1_CellContentClick(sender As System.Object, e As DataGridViewCellEventArgs) Handles DataGridView1.CellContentClick Dim senderGrid = DirectCast(sender, DataGridView) If TypeOf senderGrid.Columns(e.ColumnIndex) Is DataGridViewButtonColumn AndAlso e.RowIndex >= 0 Then RaiseEvent DataGridView1ButtonClick(senderGrid, e) End IfEnd Sub