Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
127 views

We bought your dll Telerik.Web.UI

I am trying to use the editor in my web project but I have few issues

I am loading your dll dynamic just when I need it.

I have access to the editor object but I can't influence the appearances (.css) mainly direction the images in the side of the editor r backward

How can I do this I didn’t find away?

Ander issue I am trying to use (for example) the image manger button

I add to my web.config

<add verb="*" validate="false" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI"/>

Like in your support doc

First of all what is the smart tag that u kip mention

Second how I can config the viewpate upload pate …

Nikolay Raykov
Telerik team
 answered on 06 Jan 2009
2 answers
152 views
I'm binding data on the Client Side using databind().  I have a client event for OnDataBound() that calls .showColumn or .hideColumn based on what type of user is currently logged in.

The problem is that when I call .showColumn(), it hides the column.  Calling .hideColumn also hides the column.

I call the same JavaScript code from a button and it works fine.

What am I missing?

Thanks.

p.s. I'm using version 2008.3.1125.20 in Visual Studio 2008, IE 7, and Windows XP.
Online .Net Developers
Top achievements
Rank 1
 answered on 06 Jan 2009
4 answers
196 views
Hello,

I have a combo box with an ItemTemplate, and I bind a range of items to the combo box.  But I add programmatically one item to the list using:

cbo.Items.Add(new RadComboBoxItem("-None-", "None"));

To create the user interface, do I have to add controls to that RadComboBoxItem, or is there another way?

Thanks.
Brian Mains
Top achievements
Rank 1
 answered on 06 Jan 2009
2 answers
193 views


<telerik:RadGrid ID="grdTrips" runat="server"  
            AutoGenerateColumns="False"  
            EnableEmbeddedSkins="false" 
            Skin="spa"  
            Width="940" 
            ImagesPath="~/App_Themes/aqua/Grid" 
            > 
            <MasterTableView DataKeyNames="ID" 
            AllowSorting="true" 
            AllowMultiColumnSorting="false" 
            ShowHeadersWhenNoRecords="true" 
            AllowNaturalSort="false" 
            AllowPaging="true" 
            PageSize="25" 
            > 
            <Columns> 
                <telerik:GridBoundColumn DataField="ID" ReadOnly="true" Display="false"></telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="VehicleId" ReadOnly="true" Display="false"></telerik:GridBoundColumn> 
                <telerik:GridTemplateColumn UniqueName="Mileage Date" HeaderText="Mileage Date"
                    <ItemTemplate> 
                        <asp:Label ID="lblMileageDate" runat="server" Text='<%# Eval("MileageDate") %>'></asp:Label> 
                    </ItemTemplate> 
                </telerik:GridTemplateColumn> 
                <telerik:GridBoundColumn DataField="TripMiles" UniqueName="TripMileage" HeaderText="Trip Mileage" /> 
                <telerik:GridBoundColumn DataField="Description" UniqueName="Description" HeaderText="Description" /> 
                <telerik:GridTemplateColumn UniqueName="Date Stamp" HeaderText="Date Stamp"
                    <ItemTemplate> 
                        <asp:Label ID="lblDateStamp" runat="server" Text='<%# Eval("DateStamp") %>'></asp:Label> 
                    </ItemTemplate> 
                </telerik:GridTemplateColumn> 
                 
                <telerik:GridButtonColumn ButtonType="ImageButton" Visible="true" CommandName="Delete" HeaderText="Delete" ConfirmText="Are you sure you want to permanently delete this vehicle trip?" ImageUrl="~/common/images/grid/SmallDelete.png"
                    <ItemStyle HorizontalAlign="center" Width="30px" /> 
                </telerik:GridButtonColumn> 
                 
                <telerik:GridEditCommandColumn  UniqueName="EditCommandColumn"  HeaderText="Edit" ButtonType="ImageButton"  UpdateText="Upadate" CancelText="Cancel" EditImageUrl="~/common/images/grid/SmallEdit.gif"
                    <HeaderStyle Width="85px"></HeaderStyle> 
                </telerik:GridEditCommandColumn> 
            </Columns> 
            <EditFormSettings EditFormType="Template"  CaptionFormatString="Edit details for vehicle trip with ID {0}" CaptionDataField="ID"
                <FormTemplate> 
                    <table width="100%" cellpadding="0" cellspacing="0" border="0"
                        <tr> 
                        <td><asp:Label ID="lblVehicleTripEntryDate" runat="server" meta:resourcekey="lblVehicleTripDate"></asp:Label></td
                        <td><asp:Label ID="lblVehicleTripMileage" runat="server" meta:resourcekey="lblVehicleTripMileage"></asp:Label> 
                        </td> 
                         <td><asp:Label ID="lblVehicleTripDescription" runat="server" meta:resourcekey="lblVehicleTripDescription"></asp:Label></td
                <br /> 
            </tr> 
                        <tr> 
                <td> 
                    <telerik:RadDatePicker ID="dtpTDate" runat="server" 
                        MinDate="01/01/1980" 
                        DatePopupButton-Visible="true" 
                        DatePopupButton-ImageUrl="~/common/images/co/calendar/datePickerPopup.gif" 
                        DatePopupButton-HoverImageUrl="~/common/images/co/calendar/datePickerPopupHover.gif" 
                        DatePopupButton-CssClass="cssTelerikPopupImage" 
                        DatePopupButton-Width="21" 
                        DateInput-Width="50" 
                        EnableEmbeddedSkins="false" 
                        SelectedDate='<%# Bind("MileageDate") %>'  
                        Skin="spa" 
                        Width="120" 
                        > 
                            <Calendar ID="caldtTDate" runat="server" 
                                BackColor="#CDF4FE" 
                                EnableMultiSelect="false" 
                                FastNavigationNextImage="~/common/images/calendar/cal_nextMonthDouble.gif" 
                                FastNavigationPrevImage="~/common/images/calendar/cal_prevMonthDouble.gif" 
                                NavigationNextImage="~/common/images/calendar/cal_nextMonth.gif" 
                                NavigationPrevImage="~/common/images/calendar/cal_prevMonth.gif" 
                                ShowColumnHeaders="true" 
                                ShowRowHeaders="false" 
                                DefaultCellPadding="5" 
                                CalendarTableStyle-BorderWidth="1" 
                                CalendarTableStyle-BorderColor="#90CCF7" 
                                FastNavigationSettings-CancelButtonCaption="Cancel" 
                                FastNavigationSettings-EnableTodayButtonSelection="true" 
                                FastNavigationSettings-OkButtonCaption="Ok" 
                                FastNavigationSettings-TodayButtonCaption="Today" 
                                FastNavigationStyle-BackColor="#CDF4FE" 
                                FastNavigationStyle-BorderColor="#90CCF7" 
                                FastNavigationStyle-BorderWidth="2" 
                                EnableMonthYearFastNavigation="true" 
                                UseColumnHeadersAsSelectors="false" 
                                UseRowHeadersAsSelectors="false" 
                                > 
                            </Calendar> 
                        </telerik:RadDatePicker> 
                </td> 
                <td > 
                <telerik:RadTextBox ID="txtVehicleTripMileage"  
                        runat="server"  
                        EnableEmbeddedSkins="false"  
                        EmptyMessage="Required" 
                        SelectionOnFocus="CaretToBeginning" 
                        Skin="spa" 
                        MaxLength="100"  
                        Text='<%# Bind( "TripMiles") %>'     
                        Width="350" ValidationGroup="DataEntry" 
                        ></telerik:RadTextBox> 
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtVehicleTripMileage" Display="none" ValidationGroup="DataEntry"></asp:RequiredFieldValidator> 
                </td> 
                <td> 
                    <telerik:RadTextBox ID="txtDescription"  
                        runat="server"  
                        EnableEmbeddedSkins="false"  
                        EmptyMessage="Required" 
                        SelectionOnFocus="CaretToBeginning" 
                        Skin="spa" 
                        MaxLength="100"  
                        Text='<%# Bind( "Description") %>'     
                        Width="350" ValidationGroup="DataEntry" 
                        ></telerik:RadTextBox> 
                    <asp:RequiredFieldValidator ID="rfvDescription" runat="server" ControlToValidate="txtDescription" Display="none" ValidationGroup="DataEntry"></asp:RequiredFieldValidator> 
                </td> 
            </tr> 
            <tr> 
            <td colspan="3"
             <asp:Button ID="btnUpdate" Text="Update" runat="server" CommandName="Update"  CausesValidation="False"></asp:Button>&nbsp; 
             <asp:Button ID="btnCancel" Text="Cancel" runat="server" CausesValidation="False" CommandName="Cancel"></asp:Button> 
            </td> 
            </tr> 
                    </table> 
                </FormTemplate> 
            </EditFormSettings> 
            <NoRecordsTemplate> 
                <div style="border: solid 1px #666666; background-color: #eeeeee; color: #CE2020; width: 900px; margin-left: 20px; margin-right: 20px; margin-top: 20px; text-align: center; font-weight: bold; padding-top: 5px; padding-bottom: 5px;"
                    <table cellpadding="2" cellspacing="2"
                        <tr> 
                            <td><asp:image ID="imgNoRecords" runat="server" ImageUrl="~/common/images/icons/circle/RedX16.png" /></td
                            <td><span style=" font-size: 100%;">No records exist.</span></td
                        </tr> 
                    </table> 
                </div> 
            </NoRecordsTemplate> 
            </MasterTableView> 
            <ClientSettings EnableRowHoverStyle="true" /> 
</telerik:RadGrid> 

Hi everyone,
who can help me immediately? the above is my source code, however, when i click the 'cancel' button, formtemplate does not hide automatically?
Any ideas are appreciated
Albert
Joel R
Top achievements
Rank 1
 answered on 06 Jan 2009
2 answers
121 views

I was able to put a radEditor control on a page hosted by WSS 3.0. The problem is that the control wills not response to any user input.  Has anybody ran into this problem and was able to solved it.

 

The version of Telerik.Web.UI.dll is 2008.3.1125.20.

Thanks

Thaneavin Khieu
Top achievements
Rank 1
 answered on 06 Jan 2009
1 answer
54 views
Hi,

Currently when a mouse is placed on the scheduler it highlights 1 hr time period but I need to highlight only 30 mins becuase most of our appointments are 30 mins. Do we have a way to do that??
Dimitar Milushev
Telerik team
 answered on 06 Jan 2009
1 answer
99 views
hi

is it possible to get a reference to a tab's anchor server side?

Thks
Kieran
Paul
Telerik team
 answered on 06 Jan 2009
2 answers
108 views
I have created a run-time tree that consists of a parent node with a checkbox and child nodes, some  have checkboxes and some do not.  I have set the checkboxes as tri state.

So it looks like this(although the check boxes did not copy over, there is a checkbox on first dvrs, channel 1 and channel 2.  Channels 3-5 do not have check boxes):

first dvrs
  • THIS IS Channel 1
  • this is channel 2
  • Unassigned Channel 3
  • Unassigned Channel 4
  • Unassigned Channel 5

 

The three unassigned channels do not have checkboxes, the first two do, and the parent "first dvrs" also has a checkbox.

If I check the checkboxes for channel 1 and 2, the parent sets to indeterminate.  That is because the last 3 channels have no checkbox and cannot be selected(and I don't want them to be, becuase they are unassigned).

Is there a way to get the parent to only react to the state of the child nodes that have check boxes and to ignore the state of the child nodes that do not have checkboxes?

Mark Brown
Top achievements
Rank 2
 answered on 06 Jan 2009
2 answers
152 views
Hi all, got a grid that displays a Rolename, RoleID and UserID for a particular user, based on the selected row of another grid.
Works fine.

Now, I want to autogenerate the delete button for the many-many table from that grid.

I have 
DeleteCommand="DELETE FROM UserxRole WHERE (UserID = @UserID) AND (RoleID = @RoleID)">
in my SqlDataSource

and

<DeleteParameters>
<asp:ControlParameter ControlID="gridUsersRoles" ConvertEmptyStringToNull="False" DefaultValue="" Name="UserID"  PropertyName="MasterTableView.DataKeyNames("UserID")"/>
<asp:ControlParameter ControlID="gridUsersRoles" ConvertEmptyStringToNull="False" DefaultValue="" Name="RoleID"  PropertyName="MasterTableView.DataKeyNames("RoleID")"/>
</DeleteParameters>

as my parms, but it doesn't like the long PropertyName
Am I missing the simple route to do this?
Or do I need to create a couple of hidden controls to store the two IDs in?

I'm only doing this the declaritive way as I have several more of these to do.
Any advice on the fastest way is welcomed.

Bob
Top achievements
Rank 1
 answered on 06 Jan 2009
1 answer
126 views
i m using tabstrip inside the splitter when i m trying using properties of tabstrip (like displaying text with icons) its not displaying, When i m setting a background image to Rad Pageview image is not displaying at runtime,plz reply me.

thank u

Usman
Svetlina Anati
Telerik team
 answered on 06 Jan 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?