Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
84 views
If the lightbox window could have a additional button / event eg

1) Let us say the light box is used to display images of the sale item like shirt and the there a button can be configured add to cart. On click of the button there could be sever side event and the event would have either the name of current image or a unique id for the image visible and programmer could add the item to the cart


2) Simillar functionality could be useful in 'ADD TO FAVOURITES' from the images of freinds / school mates etc

3) Simillar functionality could be used for 'REVIEW LATER'


The configurable button may have property of icon  image / title

The configurable button may have client side 'ALERT MESSAGE' eg 'Item has been selected'

Regards



Sanjay Gupta
Daniel
Telerik team
 answered on 01 Oct 2013
1 answer
102 views
Hello,

I'm tyring with no luck to determine if there is a way to abandon a request that has already been sent to the server.  I am using a menu to load user controls with data, occasionaly one of those user controls may run a query that takes 15+ seconds, if the user clicks on another menu item (rad treeview node) a second ajax request is "queued", and executes after the first one finishes 15 seconds later.

I would like the second menu click to abort the first request and start processing.

is this possible?

thanks,
Maria Ilieva
Telerik team
 answered on 01 Oct 2013
1 answer
211 views
Hello,

I would like to know if it is possible to cancel an item being created in the grid's header context menu.

Here is my temp solution (that works) : 

grid.HeaderContextMenu.ItemCreated += (o, e) =>
{
    if (some_condition)
    {
        e.Item.Owner.Items.Remove(e.Item);
    }
};

I am looking for a better way to do this. I would love to be able to cancel the item from being created at all, rather than letting it create and then removing it.

Thank you
Maria Ilieva
Telerik team
 answered on 01 Oct 2013
3 answers
392 views
I have several columns such as the following in a RadGrid with the EditMode set to Batch and EditType set to Row:

<telerik:GridDropDownColumn DataField="Fund" DataSourceID="odsFunds" FilterControlAltText="Filter Fund column"
    HeaderText="Fund" EnableEmptyListItem="True" ConvertEmptyStringToNull="true" EmptyListItemText="" EmptyListItemValue="" ListTextField="Code" ListValueField="Code" SortExpression="Fund" UniqueName="Fund">
    <ColumnValidationSettings>
        <ModelErrorMessage Text="" />
    </ColumnValidationSettings>
    <HeaderStyle HorizontalAlign="Right" />
    <ItemStyle HorizontalAlign="Right" />
</telerik:GridDropDownColumn>

Each of these columns is bound to a nullable field, and displays correctly. However, when I attempt to edit a row, I cannot select the empty item. It automatically selects the first item in the databound list. How do I select an empty item so that I can pass a null value to the database?
Princy
Top achievements
Rank 2
 answered on 01 Oct 2013
3 answers
147 views
Hi

Does numeric textbox support indian currency? Now its showing dollar
Shinu
Top achievements
Rank 2
 answered on 01 Oct 2013
1 answer
382 views
Hi I was able to get the notification working with a single page application.  http://demos.telerik.com/aspnet-ajax/notification/examples/sessiontimeout/defaultcs.aspx

 Works great.  My question is:  I have another application in which I need to implement this functionality, however that application uses multiple browser tabs all tied to the same session.  Is the notification designed to handle this kind of scenario?  If the user is working in one tab I don't want the second tab to timeout automatically and invalidate the session.

Thanks
Marin Bratanov
Telerik team
 answered on 01 Oct 2013
4 answers
117 views
Hello Telerik,

It will be nice and powerful to have a radcontrol which can play video files and stream URL's. Such a control is missing in the radcontrols suite. Hope telerik will come up with one such control like the one available for SL suite. I have a requirement to play some tutorial H.264 video files from project folder.

Henry
Shinu
Top achievements
Rank 2
 answered on 01 Oct 2013
1 answer
110 views
I am using Telerik.Web.UI version 2011.1.315.35, and the default location of the dialog is centered in the browser. I am trying to explicitly specify the startup location. I have seen an example that involved setting the "OnClientLoad" property in the code-in-front (ascx or aspx), but that Javascript method doesn't seem to be being called.

How can I specify the startup location of the dialog?

Thanks,
Scott
Marin Bratanov
Telerik team
 answered on 01 Oct 2013
1 answer
191 views
Hello,

I have a Radgrid where I an creating the columns dynamically on page_load, when databound the data shouws fine except where I created columns bound to a child object which in this case is a list of integers, those columns are created as shown below

for (i = 0; i < weeks; i++)
                   {
                       AddGridColumns(Grid, "ChildList[" + i.ToString() + "]", "HeaderText");
                        
 
                   }

private void AddGridColumns(RadGrid Grid, string DataField,string HeaderText)
        {
              
            GridBoundColumn boundColumn = new GridBoundColumn();
            Grid.MasterTableView.Columns.Add(boundColumn);
            boundColumn.DataField = DataField;
            boundColumn.HeaderText = HeaderText;
            boundColumn.UniqueName = DataField;
   
        }


I have confirmed that the list contains data at the respective indexes and the rest of the columns show data as expected, any help would be appreciated.
Princy
Top achievements
Rank 2
 answered on 01 Oct 2013
1 answer
133 views
I am trying to show a RadScheduler in an XmlHttpPanel and it is not displaying the appointments.  I call DataBind after the DataSource is set.  If I add a call to rebind I get a partial view of the appointments but its just the outline.  I tried setting RegisterWithScriptManager=False and I then get javascript errors.

<telerik:RadXmlHttpPanel ID="radXmlHttpPanel" runat="server" OnServiceRequest="radXmlHttpPanel_OnServiceRequest" RenderMode="Block" EnableClientScriptEvaluation="true" LoadingPanelID="loadingPanelSupervisorHome" >
        <div id="listEmployeeCoverages" runat="server">
            <div id="employeeCoveragesSchedule">
                <telerik:RadScheduler ID="schedulerEmployeeCoverage" runat="server" SelectedView="TimelineView" ReadOnly="True" OverflowBehavior="Expand"
                    OnNavigationComplete="schedulerEmployeeCoverage_OnNavigationComplete"
                    OnNavigationCommand="schedulerEmployeeCoverage_OnNavigationCommand" OnAppointmentDataBound="schedulerEmployeeCoverage_OnAppointmentDataBound"
                    DataKeyField="Detail.Key" DataSubjectField="Subject" DataStartField="Detail.StartDateTime" DataEndField="Detail.StopDateTime">
                    <TimelineView UserSelectable="False" GroupBy="Employee" GroupingDirection="Vertical" ShowInsertArea="False" SlotDuration="01:00:00" ShowDateHeaders="true" ColumnHeaderDateFormat="htt"></TimelineView>
                    <DayView UserSelectable="False"></DayView>
                    <WeekView UserSelectable="False"></WeekView>
                    <MonthView UserSelectable="False"></MonthView>
                </telerik:RadScheduler>
            </div>
        </div>
    </telerik:RadXmlHttpPanel>
Slav
Telerik team
 answered on 01 Oct 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?