Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
140 views
Not sure if this is the correct place, I couldn't find an area for feature requests:

How about a PayPal component?

I've been searching the web for ideas on how to use PayPal in asp.net pages, and see that Component One offer some, that they advertise as free, but I can't figure out how to get them.

Andy
Tsvetoslav
Telerik team
 answered on 31 Oct 2012
10 answers
481 views
I've been having trouble removing the statusbar from a window launched from within a window. Is this possible to accomplish?

I've read that this cannot be done with client side code, which is how I am currently launching the window. I've tried to, instead, define a window in my masterpage, and then try to get a reference to it from my window, and launch it from there, but with no luck.

The code I am currently using to launch a window from a window is -

function LaunchSalesRequest() {  
        var parent = GetRadWindow().BrowserWindow;  
        var salesRequest = parent.radopen("SalesRequest.aspx""Sales Request For New Client");  
        salesRequest.set_width(720);  
        salesRequest.set_height(580);  
        salesRequest.center();  
        salesRequest.set_status(""); // would like to remove statusbar, not just blank it  
        salesRequest.set_title("Sales Request For New Client");  
        setTimeout(function() { attach.setActive(true); }, 0);  
    } 
Marin Bratanov
Telerik team
 answered on 31 Oct 2012
1 answer
76 views
Hi,

I am new to telerik and currently working on a nested gridview.
I need to connect VEDK_ProductCategory table to VEDK_Product table. I have a diagram here:

DB Diagram


I can not figure out how I should configure the MasterTableView and DetailTable to make this happen.

ProductCategory 1
  •    Product 1
  •    Product 7

ProductCategory 2
  •    Product 4
  •    Product 6


Hope you can help me.

//Mads...
Eyup
Telerik team
 answered on 31 Oct 2012
1 answer
37 views
We can drag the RadDock to extreme right and extreme bottom.

Question - Is there any way to restrict the dock to be dragged to some area only toward right and bottom?
Pankaj
Top achievements
Rank 1
 answered on 31 Oct 2012
1 answer
69 views
Hi,
I can able to insert the Appointment details in DB. But I couldn't able Insert both Room and User Details. Please find the below code for your review and help me out for the same.


/*------------------------------------------------------------------------------------------------------------------*/
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TestRADScheduler.aspx.cs" Inherits="TestRADScheduler" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <asp:SqlDataSource ID="RoomsDataSource" runat="server"
            ConnectionString="<%$ ConnectionStrings:TelerikConnectionString %>"
            SelectCommand="SELECT [ID], [RoomName] FROM [Rooms]" DeleteCommand="DELETE FROM Rooms WHERE (ID = @ID)"
            InsertCommand="INSERT INTO Rooms(RoomName) VALUES (@RoomName)" UpdateCommand="UPDATE Rooms SET RoomName = @RoomName">
            <DeleteParameters>
                <asp:Parameter Name="ID" />
            </DeleteParameters>
            <InsertParameters>
                <asp:Parameter Name="RoomName" />
            </InsertParameters>
            <UpdateParameters>
                <asp:Parameter Name="RoomName" />
            </UpdateParameters>
        </asp:SqlDataSource>
        <asp:SqlDataSource ID="sqlUserDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:TelerikConnectionString %>"
            SelectCommand="SELECT [ID], [UserName] FROM [Users]"
            DeleteCommand="DELETE FROM Users WHERE (ID = @ID)"
            InsertCommand="INSERT INTO Users(ID, UserName) VALUES (@ID, @UserName)"
            UpdateCommand="UPDATE Users SET ID = @ID, UserName = @UserName">
            <DeleteParameters>
                <asp:Parameter Name="ID" Type="Int32" />
            </DeleteParameters>
            <InsertParameters>
                <asp:Parameter Name="ID" Type="Int32" />
                <asp:Parameter Name="UserName" Type="String" />
            </InsertParameters>
            <UpdateParameters>
                <asp:Parameter Name="ID" Type="Int32" />
                <asp:Parameter Name="UserName" Type="String" />
            </UpdateParameters>
        </asp:SqlDataSource>


        <asp:SqlDataSource ID="sqlDSAppointment" runat="server" ConnectionString="<%$ ConnectionStrings:TelerikConnectionString %>"
            DeleteCommand="DELETE FROM [Appointments] WHERE [ID] = @ID"
            InsertCommand="INSERT INTO Appointments(Subject, Start, [End], RecurrenceRule, RecurrenceParentID, Description, RoomID, Reminder) VALUES (@Subject, @Start, @End , @RecurrenceRule, @RecurrenceParentID, @Description, @RoomID, @Reminder)"
            SelectCommand="SELECT ID, Subject, Start, [End], RecurrenceRule, RecurrenceParentID, Description, RoomID, Reminder FROM Appointments"
            UpdateCommand="UPDATE Appointments SET Subject = @Subject, Start = @Start, [End] = @End , RecurrenceRule = @RecurrenceRule, RecurrenceParentID = @RecurrenceParentID, Description = @Description, RoomID = @RoomID, Reminder = @Reminder WHERE (ID = @ID)">


            <DeleteParameters>
                <asp:Parameter Name="ID" Type="Int32" />
            </DeleteParameters>
            <UpdateParameters>
                <asp:Parameter Name="Subject" Type="String" />
                <asp:Parameter Name="Start" Type="DateTime" />
                <asp:Parameter Name="End" Type="DateTime" />
                <asp:Parameter Name="RecurrenceRule" Type="String" />
                <asp:Parameter Name="RecurrenceParentID" Type="Int32" />
                <asp:Parameter Name="Description" Type="String" />
                <asp:Parameter Name="RoomID" Type="Int32" />
                <asp:Parameter Name="Reminder" Type="String" />
                <asp:Parameter Name="ID" Type="Int32" />
            </UpdateParameters>
            <InsertParameters>
                <asp:Parameter Name="Subject" Type="String" />
                <asp:Parameter Name="Start" Type="DateTime" />
                <asp:Parameter Name="End" Type="DateTime" />
                <asp:Parameter Name="RecurrenceRule" Type="String" />
                <asp:Parameter Name="RecurrenceParentID" Type="Int32" />
                <asp:Parameter Name="Description" Type="String" />
                <asp:Parameter Name="RoomID" Type="Int32" />
                <asp:Parameter Name="Reminder" Type="String" />
            </InsertParameters>
        </asp:SqlDataSource>
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="RadScheduler1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="radScheduler" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
        <telerik:RadScheduler ID="radScheduler" runat="server" AdvancedForm-EnableCustomAttributeEditing="true" EnableResourceEditing="true" DataDescriptionField="Description" DataEndField="End" DataKeyField="ID"
            DataRecurrenceField="RecurrenceRule" DataRecurrenceParentKeyField="RecurrenceParentID" DataReminderField="Reminder" 
            DataSourceID="sqlDSAppointment" DataStartField="Start" DataSubjectField="Subject" EnableDescriptionField="True" Height=""
            >
            <Reminders Enabled="True" />
            <AdvancedForm EnableCustomAttributeEditing="True" />
            
            <ResourceTypes >
                <telerik:ResourceType AllowMultipleValues="true"  DataSourceID="RoomsDataSource" ForeignKeyField="RoomID"
                    KeyField="ID" Name="Room" TextField="RoomName" />
                <telerik:ResourceType DataSourceID="sqlUserDataSource" ForeignKeyField="ID" KeyField="ID" Name="Users" TextField="UserName" />
            </ResourceTypes >
            <ResourceStyles >
                <telerik:ResourceStyleMapping Type="Room"  ApplyCssClass="rsCategoryOrange" Text="Room 101" Key="ID"  />
                <telerik:ResourceStyleMapping Type="Room" ApplyCssClass="rsCategoryGreen" Text="Room 102" Key="RoomID"/>
                <telerik:ResourceStyleMapping Type="Room" ApplyCssClass="rsCategoryPink" Text="Room 201" Key="RoomID"/>
                <telerik:ResourceStyleMapping Type="Room" ApplyCssClass="rsCategoryViolet" Text="Room 202" Key="RoomID"/>
            </ResourceStyles>


<WebServiceSettings>
<ODataSettings InitialContainerName=""></ODataSettings>
</WebServiceSettings>
        </telerik:RadScheduler>
    </div>


    </form>
</body>
</html>


Regards,
Saravanan M
Plamen
Telerik team
 answered on 31 Oct 2012
1 answer
431 views
Good afternoon.

I am using Thickbox for modal windows and would like to continue using them with my web application.

The problem I am having is that Thickbox requires the class name "thickbox" to be used with a URL.  The problem I am having is the only way to set a class to a GridHyperLinkColumn is with the ItemStyle-CssClass which auctually sets the style to the li tag, not the href tag.

Is there any way to set the class to the URL that is generated with the GridHyperLinkColumn, or is there any other work around to do this?

Here is my current code:
<telerik:RadGrid width="900px" runat="server" ID="RadGrid2"  DataSourceID="DataSource1" OnItemCommand="RadGrid1_ItemCommand" Skin="Windows7">
 
    <MasterTableView AutoGenerateColumns="False" DataKeyNames="OwnerID" DataSourceID="DataSource1" CommandItemDisplay="Top"  EnableHeaderContextMenu="true">
    <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column" Visible="True"></RowIndicatorColumn>
        <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column" Visible="True"></ExpandCollapseColumn>
 
            <telerik:GridBoundColumn DataField="KioskID" DataType="System.Int32" DefaultInsertValue="" FilterControlAltText="Filter KioskID column" HeaderText="KioskID" SortExpression="KioskID" UniqueName="KioskID"></telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="tranPaymentAmount" DataType="System.Single" DefaultInsertValue="" FilterControlAltText="Filter tranPaymentAmount column"  HeaderText="tranPaymentAmount" SortExpression="tranPaymentAmount" UniqueName="tranPaymentAmount"></telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="CreationDate" DataType="System.DateTime"  FilterControlAltText="Filter CreationDate column" HeaderText="CreationDate" SortExpression="CreationDate" UniqueName="CreationDate"></telerik:GridBoundColumn>
 
        <telerik:GridHyperLinkColumn FooterText="HyperLinkColumn footer"
                DataTextFormatString="Customer info" DataNavigateUrlFields="AuthID" UniqueName="CustomerView"
                DataNavigateUrlFormatString="customer_edit.aspx?commandtype=edit&authid={0}&KeepThis=true&TB_iframe=true&height=550&width=600"
                HeaderText="Customer info" DataTextField="AuthID" AllowFiltering="False" Target="_blank">
            </telerik:GridHyperLinkColumn>
 
        </Columns>
    </MasterTableView>
</telerik:RadGrid>

Shinu
Top achievements
Rank 2
 answered on 31 Oct 2012
5 answers
123 views
Hi,

How can I disable client side row selection when the grid is in edit mode?

Thanks,
J
Princy
Top achievements
Rank 2
 answered on 31 Oct 2012
1 answer
109 views
Hi,
I want to put watermark in RadAutoCompleteBox....How to do it? which proert is used for that?
Kalina
Telerik team
 answered on 31 Oct 2012
1 answer
71 views
Hi,

         I am using Rad AsyncUpload control in my program. When I am uploading file which is of 215 character length through IE browsers, it is working fine without any issue. But same file upload is failing in Chrome and mozilla. Is there any particular length limitation for Rad Asyncupload control. There is no issue I am facing with RadUpload control. Can anyone help me out in this?

      Thanks in Advance.


Thanks,
Geetha Rani.
Plamen
Telerik team
 answered on 31 Oct 2012
4 answers
248 views
Is it possible to fix the header in place while the rest of the listview scrolls (after a given height is reached)? When the listview has a lot of rows, it's getting hard to remember what each cell of data corresponds to and I figure that if I freeze the header in place and allow the data to scroll, that would address that issue.
Maria Ilieva
Telerik team
 answered on 31 Oct 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?