Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
89 views
I have a problem with toolTip and Rotator.
The CSS file is changing the style of tooltip (munual closer) and the buttons on the Rotator.

  
PrtScn




How can I solve this problem? 
The CSS is in the Master Page. 

CSS : 
a
{
      
}
  
a:hover
{
    color: #fff;
    text-decoration: overline;
    background-image: url('../imagens/boton1.gif');
}

Rotator code:
<telerik:RadRotator ID="RadRotator1" runat="server" Width="950px" Height="160px"
                                                                ScrollDuration="2000" FrameDuration="1" ItemHeight="137"
                                                                ItemWidth="227" RotatorType="Buttons"
                                                                ScrollDirection="Left,Right"  Skin="Vista" OnClientItemClicked="viewCamp">
    <ItemTemplate>
             <div id="div_campanhas" style="  vertical-align: middle; text-align: center;"  runat="server" align="center">
                                                        <asp:Image ID="Image1" runat="server" AlternateText='<%# Eval("cod_campanha") %>' ImageUrl='<%# "comum/imagens/catalogo1/" + Eval("cod_campanha")+".gif"%>'
                                                                   ImageAlign="Middle" />
                </div>
        </ItemTemplate>
 
</telerik:RadRotator>
rdmptn
Top achievements
Rank 1
 answered on 30 May 2012
1 answer
150 views
I have designed my page with Tabstrip and Multipage as follows

<telerik:RadWindowManager ID="RadWindowManager1" runat="server" VisibleOnPageLoad="false">
            <Shortcuts>
                <telerik:WindowShortcut CommandName="CloseAll" Shortcut="Esc" />
            </Shortcuts>
        </telerik:RadWindowManager>
        <telerik:RadAjaxManager runat="server" ID="RadAjaxManager1">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="rdmpPersonal">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="rdtabEmployee" />
                        <telerik:AjaxUpdatedControl ControlID="rdmpPersonal" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="rdtabEmployee">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="rdtabEmployee" />
                        <telerik:AjaxUpdatedControl ControlID="rdmpPersonal" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
 
 <telerik:RadTabStrip ID="rdtabEmployee" runat="server" MultiPageID="rdmpPersonal"
            UnSelectChildren="True" Skin="Vista" EnableEmbeddedSkins="False" ClickSelectedTab="True"
            AutoPostBack="True" SelectedIndex="0">
            <Tabs>
                <telerik:RadTab runat="server" Text="Personal" PageViewID="rdpgPersonal">
                </telerik:RadTab>
                <telerik:RadTab runat="server" Text="Contact" PageViewID="rdpgContact">
                </telerik:RadTab>
                <telerik:RadTab runat="server" Text="Salary">
                </telerik:RadTab>
                <telerik:RadTab runat="server" Text="Bank">
                </telerik:RadTab>
            </Tabs>
        </telerik:RadTabStrip>
<telerik:RadMultiPage ID="rdmpPersonal" runat="server" SelectedIndex="0">
            <telerik:RadPageView ID="rdpgPersonal" runat="server">
                <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server">
                    <telerik:RadPanelBar runat="server" ID="rdpnlPersonal" ExpandMode="FullExpandedItem"
                        Skin="Vista" EnableEmbeddedSkins="false" Width="550px">
                        <Items>
                            <telerik:RadPanelItem Expanded="true" Text="Employee Personal Information" runat="server"
                                Selected="true">
                                <Items>
                                    <telerik:RadPanelItem Value="AccountInformation" runat="server">
                                        <ItemTemplate>
                                            <div class="text" style="background-color: #edf9fe">
                                                <ul class="formList" id="accountInfo">
                                                    <li>
                                                        <asp:Label Width="150px" runat="server" ID="lblFirstName" AssociatedControlID="accountName">First Name</asp:Label>
                                                        <asp:TextBox ID="accountName" CssClass="textInput" TabIndex="1" runat="server" ValidationGroup="accountValidation"
                                                            Width="200px"></asp:TextBox>
                                                        <asp:RequiredFieldValidator runat="server" ID="rqrdName" ValidationGroup="accountValidation"
                                                            ForeColor="Red" ControlToValidate="accountName" ErrorMessage="First name is required"></asp:RequiredFieldValidator>
                                                    </li>
                                                    <li>
                                                        <asp:Label runat="server" Width="150px" ID="lblMiddle" AssociatedControlID="txtMiddle">Middle Initial</asp:Label>
                                                        <asp:TextBox ID="txtMiddle" TabIndex="2" CssClass="textInput" runat="server" Width="200px"></asp:TextBox>
                                                    </li>
                                                    <li>
                                                        <asp:Label runat="server" Width="150px" ID="lblLastName" AssociatedControlID="txtLastName">Last Name</asp:Label>
                                                        <asp:TextBox CssClass="textInput" ValidationGroup="accountValidation" ID="txtLastName"
                                                            runat="server" Width="200px" TabIndex="3"></asp:TextBox>
                                                        <asp:RequiredFieldValidator runat="server" ValidationGroup="accountValidation" ID="rqrdLast"
                                                            ForeColor="Red" ControlToValidate="txtLastName" ErrorMessage="LastName is required"></asp:RequiredFieldValidator>
                                                    </li>
                                                    <li>
                                                        <asp:Label runat="server" ID="lblSSN" AssociatedControlID="txtSSN" Width="150px">Social Security Number</asp:Label>
                                                        <telerik:RadMaskedTextBox Mask="###-##-####" runat="server" ID="txtSSN" Width="200px"
                                                            ValidationGroup="accountValidation" TabIndex="4">
                                                        </telerik:RadMaskedTextBox>
                                                        <asp:RequiredFieldValidator Display="Dynamic" ValidationGroup="accountValidation"
                                                            ID="mskdrqrdSSN" runat="server" ErrorMessage="Please, enter SSN number." ForeColor="Red"
                                                            ControlToValidate="txtSSN"></asp:RequiredFieldValidator>
                                                        <asp:RegularExpressionValidator Display="Dynamic" ID="mskdregvdSSN" runat="server"
                                                            ErrorMessage="Format is ###-##-####" ControlToValidate="txtSSN" ValidationGroup="accountValidation"
                                                            ForeColor="Red" ValidationExpression="^\d{3}-\d{2}-\d{4}$" />
                                                    </li>
                                                    <li>
                                                        <asp:Label runat="server" ID="lblHireDate" AssociatedControlID="radDtHiredate" Width="150px">Hire Date</asp:Label>
                                                        <telerik:RadDatePicker ID="radDtHiredate" Width="200px" runat="server" MinDate="1900-01-01"
                                                            AutoPostBack="true" TabIndex="5">
                                                            <Calendar ID="calHire" RangeMinDate="1900-01-01" runat="server">
                                                            </Calendar>
                                                        </telerik:RadDatePicker>
                                                        <asp:RequiredFieldValidator ID="rqrdcontactHireDate" runat="server" Display="Dynamic"
                                                            ValidationGroup="accountValidation" ControlToValidate="radDtHiredate" ForeColor="Red"
                                                            ErrorMessage="Select a Date"></asp:RequiredFieldValidator>
                                                    </li>
                                                    <li>
                                                        <asp:Label runat="server" ID="lblGender" AssociatedControlID="rdcbGender" Width="150px">Gender</asp:Label>
                                                        <telerik:RadComboBox ID="rdcbGender" TabIndex="6" AutoPostBack="true" CssClass="ComboBox"
                                                            runat="server" Width="200px">
                                                        </telerik:RadComboBox>
                                                        <asp:RequiredFieldValidator ID="rqrdGender" runat="server" Display="Dynamic" ValidationGroup="accountValidation"
                                                            ControlToValidate="rdcbGender" ForeColor="Red" InitialValue="--select--" ErrorMessage="Select Gender"></asp:RequiredFieldValidator>
                                                    </li>
                                                    <li>
                                                        <asp:Label runat="server" ID="lblDob" AssociatedControlID="radDtDOB" Width="150px">Date Of Birth</asp:Label>
                                                        <telerik:RadDatePicker ID="radDtDOB" Width="200px" runat="server" MinDate="1900-01-01"
                                                            AutoPostBack="true" TabIndex="7">
                                                            <Calendar ID="calDob" RangeMinDate="1900-01-01" runat="server">
                                                            </Calendar>
                                                        </telerik:RadDatePicker>
                                                        <asp:RequiredFieldValidator ID="rqrdcontactDobDate" runat="server" Display="Dynamic"
                                                            ValidationGroup="accountValidation" ControlToValidate="radDtDOB" ForeColor="Red"
                                                            ErrorMessage="Select a Date"></asp:RequiredFieldValidator>
                                                    </li>
                                                    <li>
                                                        <asp:Label runat="server" ID="lblPayFrequency" AssociatedControlID="radPayFrequency"
                                                            Width="150px">Pay Frequency</asp:Label>
                                                        <telerik:RadComboBox ID="radPayFrequency" TabIndex="8" AutoPostBack="true" CssClass="ComboBox"
                                                            runat="server" Width="200px">
                                                        </telerik:RadComboBox>
                                                    </li>
                                                </ul>
                                                <br />
                                                <asp:ValidationSummary runat="server" ID="validationSummary" CssClass="validationSummary" />
                                                <table style="margin-left: 50px;">
                                                    <tr>
                                                        <td>
                                                            <telerik:RadButton ID="rdbtnpersonalSaveExit" ValidationGroup="accountValidation"
                                                                OnClick="rdbtnpersonalSaveExit_Click" TabIndex="9" runat="server" Text="Save & Exit">
                                                            </telerik:RadButton>
                                                              
                                                            <telerik:RadButton ID="rdbtnpersonalCancel" OnClick="rdbtnpersonalCancel_Click" TabIndex="10"
                                                                runat="server" Text="Cancel">
                                                            </telerik:RadButton>
                                                              
                                                            <telerik:RadButton ID="rdbtnpersonalSaveNext" ValidationGroup="accountValidation"
                                                                OnClick="rdbtnpersonalSaveNext_Click" TabIndex="11" runat="server" Text="Save & Next">
                                                            </telerik:RadButton>
                                                              
                                                            <telerik:RadButton ID="rdbtnpersonalNext" TabIndex="12" runat="server" Text="Next"
                                                                OnClick="rdbtnpersonalNext_Click">
                                                            </telerik:RadButton>
                                                            <br />
                                                        </td>
                                                    </tr>
                                                </table>
                                                <br />
                                            </div>
                                        </ItemTemplate>
                                    </telerik:RadPanelItem>
                                </Items>
                            </telerik:RadPanelItem>
                        </Items>
                    </telerik:RadPanelBar>
                </telerik:RadAjaxPanel>
            </telerik:RadPageView>
            <telerik:RadPageView ID="rdpgContact" runat="server">
                <telerik:RadAjaxPanel ID="rdpanleContact" runat="server">
                    <telerik:RadPanelBar runat="server" ID="rdpbContact" ExpandMode="FullExpandedItem"
                        Skin="Vista" EnableEmbeddedSkins="false" Width="550px">
                        <Items>
                            <telerik:RadPanelItem Expanded="true" Text="Employee Contact Information" runat="server"
                                Selected="true">
                                <Items>
                                    <telerik:RadPanelItem Value="ContactInformation" runat="server">
                                        <ItemTemplate>
                                            <div class="text" style="background-color: #edf9fe">
                                                <ul class="formList" id="contactInfo">
                                                    <li>
                                                        <asp:Label Width="150px" runat="server" ID="lblcontactAddress" AssociatedControlID="rdcmbAddress">Address</asp:Label>
                                                        <telerik:RadComboBox ID="rdcmbAddress" AutoPostBack="true" CssClass="ComboBox" runat="server"
                                                            ValidationGroup="contactValidation" Width="200px">
                                                        </telerik:RadComboBox>
                                                        <asp:RequiredFieldValidator runat="server" ID="rqrdcontactAddress" ValidationGroup="contactValidation"
                                                            ControlToValidate="rdcmbAddress" ErrorMessage="Select Address" ForeColor="Red"></asp:RequiredFieldValidator>
                                                    </li>
                                                    <li>
                                                        <asp:Label runat="server" Width="150px" ID="lblcontactAddress1" AssociatedControlID="txtcontactAddressLine1">Address Line 1</asp:Label>
                                                        <asp:TextBox ID="txtcontactAddressLine1" CssClass="textInput" runat="server" Width="200px"
                                                            ValidationGroup="contactValidation"></asp:TextBox>
                                                        <asp:RequiredFieldValidator runat="server" ID="rqrdcontactAdreesLine" ValidationGroup="contactValidation"
                                                            ControlToValidate="txtcontactAddressLine1" ErrorMessage="Address Line 1 is required"
                                                            ForeColor="Red"></asp:RequiredFieldValidator>
                                                    </li>
                                                    <li>
                                                        <asp:Label runat="server" Width="150px" ID="lblcontactAddress2" AssociatedControlID="txtcontactAddressLine2">Address Line 2 </asp:Label>
                                                        <asp:TextBox ID="txtcontactAddressLine2" CssClass="textInput" runat="server" Width="200px"></asp:TextBox>
                                                    </li>
                                                    <li>
                                                        <asp:Label runat="server" Width="150px" ID="lblcontactCity" AssociatedControlID="txtcontactCity">City</asp:Label>
                                                        <asp:TextBox CssClass="textInput" ValidationGroup="accountValidation" ID="txtcontactCity"
                                                            runat="server" Width="200px"></asp:TextBox>
                                                        <asp:RequiredFieldValidator runat="server" ValidationGroup="contactValidation" ID="rqrdcontactCity"
                                                            ControlToValidate="txtcontactCity" ErrorMessage="City is required" ForeColor="Red"></asp:RequiredFieldValidator>
                                                    </li>
                                                    <li>
                                                        <asp:Label runat="server" ID="lblcontactState" AssociatedControlID="rdcmbcontactState"
                                                            Width="150px">State</asp:Label>
                                                        <telerik:RadComboBox ID="rdcmbcontactState" CssClass="ComboBox" runat="server" Width="200px">
                                                        </telerik:RadComboBox>
                                                    </li>
                                                    <li>
                                                        <asp:Label runat="server" ID="lblcontactZipCode" AssociatedControlID="txtcontactZipCode"
                                                            Width="150px">Zip Code</asp:Label>
                                                        <asp:TextBox CssClass="textInput" ValidationGroup="contactValidation" ID="txtcontactZipCode"
                                                            runat="server" Width="200px"></asp:TextBox>
                                                        <asp:RequiredFieldValidator runat="server" ID="rqrdcontactZipCode" ValidationGroup="contactValidation"
                                                            ForeColor="Red" ControlToValidate="txtcontactZipCode" ErrorMessage="Zip Code is required"></asp:RequiredFieldValidator>
                                                    </li>
                                                    <li>
                                                        <asp:Label runat="server" ID="lblcontactCountry" AssociatedControlID="txtcontactCountry"
                                                            Width="150px">Country</asp:Label>
                                                        <asp:TextBox CssClass="textInput" ValidationGroup="contactValidation" ID="txtcontactCountry"
                                                            runat="server" Width="200px"></asp:TextBox>
                                                        <asp:RequiredFieldValidator runat="server" ID="rqrdcontactCountry" ValidationGroup="contactValidation"
                                                            ControlToValidate="txtcontactCountry" ForeColor="Red" ErrorMessage="Country is required"></asp:RequiredFieldValidator>
                                                    </li>
                                                    <li>
                                                        <asp:Label runat="server" ID="lblcontactPhoneType" AssociatedControlID="rdcmbcontactPhoneType"
                                                            Width="150px">Phone Number Type</asp:Label>
                                                        <telerik:RadComboBox ID="rdcmbcontactPhoneType" CssClass="ComboBox" runat="server"
                                                            Width="200px">
                                                        </telerik:RadComboBox>
                                                    </li>
                                                    <li>
                                                        <asp:Label runat="server" ID="lblcontactPhoneNo" AssociatedControlID="txtcontactPhoneNumber"
                                                            Width="150px">Phone Number</asp:Label>
                                                        <telerik:RadMaskedTextBox Mask="###-###-####" runat="server" ID="txtcontactPhoneNumber"
                                                            Width="200px" ValidationGroup="contactValidation">
                                                        </telerik:RadMaskedTextBox>
                                                        <asp:RequiredFieldValidator Display="Dynamic" ID="mskdrqrdPhoneNo" runat="server"
                                                            ValidationGroup="contactValidation" ErrorMessage="Please, enter a phone number."
                                                            ForeColor="Red" ControlToValidate="txtcontactPhoneNumber"></asp:RequiredFieldValidator>
                                                        <asp:RegularExpressionValidator Display="Dynamic" ID="mskdregPhoneNo" runat="server"
                                                            ValidationGroup="contactValidation" ErrorMessage="Format is ###-###-####" ControlToValidate="txtcontactPhoneNumber"
                                                            ForeColor="Red" ValidationExpression="^\d{3}-\d{3}-\d{4}$" />
                                                    </li>
                                                    <li>
                                                        <asp:Label runat="server" ID="lblcontactFaxType" AssociatedControlID="rdcmbcontactFaxType"
                                                            Width="150px">Fax Number Type</asp:Label>
                                                        <telerik:RadComboBox ID="rdcmbcontactFaxType" CssClass="ComboBox" runat="server"
                                                            Width="200px">
                                                        </telerik:RadComboBox>
                                                    </li>
                                                    <li>
                                                        <asp:Label runat="server" ID="lblcontactFaxNo" AssociatedControlID="txtcontactFaxNumber"
                                                            Width="150px">Fax Number</asp:Label>
                                                        <telerik:RadMaskedTextBox Mask="###-###-####" runat="server" ID="txtcontactFaxNumber"
                                                            Width="200px" ValidationGroup="contactValidation" TabIndex="4">
                                                        </telerik:RadMaskedTextBox>
                                                        <asp:RequiredFieldValidator Display="Dynamic" ID="rqrdcontactFaxNo" runat="server"
                                                            ValidationGroup="contactValidation" ErrorMessage="Please, enter a Fax number."
                                                            ControlToValidate="txtcontactFaxNumber" ForeColor="Red"></asp:RequiredFieldValidator>
                                                        <asp:RegularExpressionValidator Display="Dynamic" ID="regexpcontactFaxNo" runat="server"
                                                            ValidationGroup="contactValidation" ErrorMessage="Format is ###-###-####" ControlToValidate="txtcontactFaxNumber"
                                                            ForeColor="Red" ValidationExpression="^\d{3}-\d{3}-\d{4}$" />
                                                    </li>
                                                    <li>
                                                        <asp:Label runat="server" ID="lblcontactEmailType" AssociatedControlID="rdcmbcontactEmailType"
                                                            Width="150px">Email Address Type</asp:Label>
                                                        <telerik:RadComboBox ID="rdcmbcontactEmailType" CssClass="ComboBox" runat="server"
                                                            Width="200px">
                                                        </telerik:RadComboBox>
                                                    </li>
                                                    <li>
                                                        <asp:Label runat="server" ID="lblcontactEmailAddress" AssociatedControlID="txtcontactEmailAddress"
                                                            Width="150px">Email Address</asp:Label>
                                                        <telerik:RadTextBox ID="txtcontactEmailAddress" Width="200px" runat="server" ValidationGroup="contactValidation">
                                                        </telerik:RadTextBox>
                                                        <asp:RegularExpressionValidator ID="regexpcontactEmail" runat="server" Display="Dynamic"
                                                            ValidationGroup="contactValidation" ErrorMessage="Please, enter valid e-mail address."
                                                            ValidationExpression="^[\w\.\-]+@[a-zA-Z0-9\-]+(\.[a-zA-Z0-9\-]{1,})*(\.[a-zA-Z]{2,3}){1,2}$"
                                                            ControlToValidate="txtcontactEmailAddress" ForeColor="Red">
                                                        </asp:RegularExpressionValidator>
                                                        <asp:RequiredFieldValidator ID="rqrdcontactEmail" runat="server" Display="Dynamic"
                                                            ValidationGroup="contactValidation" ControlToValidate="txtcontactEmailAddress"
                                                            ErrorMessage="Please, enter an e-mail!" ForeColor="Red" />
                                                    </li>
                                                    <li>
                                                        <asp:Label runat="server" ID="Label1" AssociatedControlID="chkcontactGenLoginID"
                                                            Width="150px">Generate Login Id To Employee</asp:Label>
                                                        <telerik:RadButton ID="chkcontactGenLoginID" CssClass="RadButton" runat="server"
                                                            ToggleType="CustomToggle" ButtonType="LinkButton">
                                                            <ToggleStates>
                                                                <telerik:RadButtonToggleState Text="UnChecked" PrimaryIconCssClass="rbToggleCheckbox" />
                                                                <telerik:RadButtonToggleState Text="Checked" PrimaryIconCssClass="rbToggleCheckboxChecked"
                                                                    CssClass="rbSkinnedButtonChecked" />
                                                            </ToggleStates>
                                                        </telerik:RadButton>
                                                    </li>
                                                </ul>
                                                <br />
                                                <asp:ValidationSummary runat="server" ID="validationSummary1" CssClass="validationSummary" />
                                                <table style="margin-left: 50px;">
                                                    <tr>
                                                        <td>
                                                            <telerik:RadButton ID="rdbtncontactBack" runat="server" Text="Back" OnClick="rdbtncontactBack_Click">
                                                            </telerik:RadButton>
                                                              
                                                            <telerik:RadButton ID="rdbtncontactSaveExit" runat="server" Text="Save & Exit" OnClick="rdbtncontactSaveExit_Click">
                                                            </telerik:RadButton>
                                                              
                                                            <telerik:RadButton ID="rdbtncontactCancel" runat="server" Text="Cancel" OnClick="rdbtncontactCancel_Click">
                                                            </telerik:RadButton>
                                                              
                                                            <telerik:RadButton ID="rdbtncontactSaveNext" runat="server" Text="Save & Next" OnClick="rdbtncontactSaveNext_Click">
                                                            </telerik:RadButton>
                                                              
                                                            <telerik:RadButton ID="rdbtncontactNext" runat="server" Text="Next" OnClick="rdbtncontactNext_Clcik">
                                                            </telerik:RadButton>
                                                            <br />
                                                        </td>
                                                    </tr>
                                                </table>
                                                <br />
                                            </div>
                                        </ItemTemplate>
                                    </telerik:RadPanelItem>
                                </Items>
                            </telerik:RadPanelItem>
                        </Items>
                    </telerik:RadPanelBar>
                </telerik:RadAjaxPanel>
            </telerik:RadPageView>
 </telerik:RadMultiPage>
This is how I am passing my information to radwindow

string message = "'You must save Employee Information to proceed further..'";
            string javaScriptCode = "Sys.Application.add_load(function() {showRadConfirm(" + message + ");});";
            ScriptManager.RegisterStartupScript(this, this.GetType(), "RadConfirmStart", javaScriptCode, true);

This is the script

<script type="text/javascript">
        function showRadConfirm(text) {
            function callbckFunc(arg) {
                if (arg) {
                    __doPostBack("PostBackAfterRadConfirm", "this is a parameter");
                }
            }
            radalert(text, 300, 80, "Information");
        }
    </script>

This is what I am doing. If I click on Save & Next or Save & Exit on Contact with out saving Personal Information I am showing radwindow with corresponding message. But once the window gets opened if any post back event occurs the radwindow is displaying ..
rdmptn
Top achievements
Rank 1
 answered on 30 May 2012
1 answer
96 views
Hi,
I have a radgrid with edit links to open radwindow to update a record.
It is a modified copy of your code Edit dialog for RadGrid
The differences are:
My Rad Grid is on UserControl
I'm using LinqDataSource for selecting record.

On the "Update", call is made to refreshGrid function call ajaxRequest to rebind the grid.

This works the first time, the second time I cannot open the RadWindow.
The error is "grid is null" in the following function

        function ShowEditForm(id, rowIndex) {
            var grid = $find("<%= RadGrid1.ClientID %>");
            var rowControl = grid.get_masterTableView().get_dataItems()[rowIndex].get_element();
            grid.get_masterTableView().selectItem(rowControl, true);

            window.radopen("../FileStorage/Pages/ClientMnt.aspx?ClientId=" + id, "ClientMntDialog");
            return false;
        }


Anyone any ideas?

Thanks
Peter
Marin Bratanov
Telerik team
 answered on 30 May 2012
7 answers
115 views
Hi,

I am trying to build the ExportToPdf functionality as in http://demos.telerik.com/aspnet-ajax/editor/examples/pdfexport/defaultvb.aspx

On pressing the button there is only a postback of the page, nothing happens further...no pdf export.

Suggestions?

Regards,
Marc

Rumen
Telerik team
 answered on 30 May 2012
1 answer
62.6K+ views
Hi Telerik team,
I'm working for a quite small company (120 workers) and I was asked by my superior to create an intranet application to plan holidays for workers.
2 months before year end all work can start planning their holidays for upcoming year, they can do this till end of current year, when the plan is accepted then can change it only once a quarter. All this is now done manually, mostly using, paper forms, excel and from about a month with access.

What I need to do is to create a dedicated application for this that will be integrated with other Intranet applications.

In my scenario worker goes to my webpage (login done by Active Directory), he sees all workers from his department  plans and his.
Then he can plan his holidays , system should check if his holidays flans don't overlap with plans of other workers that are accepted by their supervisor. When chief of department goes to my page he sees all his workers plans and can accept them or reject.
I was thinking about using scheduler component or Gantt chart. to show planed holidays.
Searching web I found EXT Scheduler http://www.bryntum.com/products/scheduler/, this is mostly out of the box but done in JavaScript, and I would need 2 licenses, one for this component and second for EXT JS, besides I'm not a JavaScript developer.

What I would like to do is to buy ASP.NET AJAX suit from Telefik, because I prefer solid code, with samples, support and much more than EXT JS offers.

My question is it possible to use Your scheduler or Gantt control to create this kind of functionality.
Something like this: http://www.bryntum.com/examples/scheduler-latest/examples/eventeditor/editor.html

On left site I would like to have list of workers and on right holiday plans. As You can see in demo from link above You are able to create new events by clicking on empty space and moving your mouse, deleting events using context menu.
What I need is to lock all plans except current logged in user and validate if current user plan don't overlap with already accepted plans.

I would like to be able to do this using Telerik controls, if this is possible then I would convince my boss to buy ASP.NET suit.
Peter
Telerik team
 answered on 30 May 2012
1 answer
59 views
I have a grid set to 100% of the browser width. All columns have a fixed minimum size via the header, except the last which expands to fill the space to the browser right margin. The columns look fine.

The grouping box above the grid stops short of the end of the browser. See attached image.
How do we get that to extend all the way out? Is that a bug or is that as-designed and subject to a value setting?

Thanks.

Great, I've been noticing this for weeks, and a minute after finally posting this note I realize the behavior is more complex.
The box "may" size properly on initial display but on resizing the browser width it seems to go short, and then never quite resize properly.
This seems to be IE-specific, running IE9 here.
Tsvetina
Telerik team
 answered on 30 May 2012
1 answer
88 views
See attached image. I just loaded today's build 515 and my reward is that filter icons no longer show in the radgrid in FireFox 12. IE9 looks OK as far as this goes.  Refreshing doesn't work. Mouseover indicates the controls are there, just can't see them.

We're also missing arrow icons for groups. This seems to be with the Web20 theme. WebBlue is OK. Haven't tried others. I really don't want to just change themes because we're using other theme-specific colors in the grid to style sorting, filtering, etc. We can adapt, just don't want to scurry to avoid issues like this.

Anyone else seeing this?
Thanks.
Tsvetina
Telerik team
 answered on 30 May 2012
1 answer
104 views
Hi,

I have a grid template column that displays one of two images depending on the condition of the field e.g if true show on img if false show off img. Everything worked fine when I was using server side data binding but for unrelated reasons I had to switch to client side data binding and this feature no longer works. I'm getting the following error "Object cannot be cast from DBNull to other types." but there are no nulls in my data table at all. I'd really appreciate some help with this one. Here is the asp:
<telerik:GridTemplateColumn DataField="Active" UniqueName="Active">
                       <ItemStyle Width="20px" />
                       <ItemTemplate>
                       <div class="Tools" >
                            <asp:Image ID="ImgStatus" runat="server" ImageUrl='<%#Convert.ToBoolean(DataBinder.Eval(Container.DataItem, "Active"))? "~/Images/Icons/start.png" :
                            "~/Images/Icons/stop.png" %>'
                            AlternateText="Status"  ToolTip="Status" onclick="UpdateStatus();" /> 
                       </div>
                   </ItemTemplate>
               </telerik:GridTemplateColumn>
Thanks,
Ron.
Richard
Top achievements
Rank 1
 answered on 30 May 2012
13 answers
444 views
Ever since we updated to 2012 Q1 version, I'm seeing RadDatePicker controls display two date values in the input box.

One is the properly-formatted DisplayDateFormat value and the other is the raw data in full date/time format.

I noticed here that a default behaviour changed from FALSE to TRUE for EnableSingleInputRendering.  There appears to be a bug with this control with that value set to TRUE:
http://demos.telerik.com/aspnet-ajax/input/examples/singleinputrendering/firstlook/defaultcs.aspx

Attached is a screenshot where you can see the full date/time is overwriting the formatted date (in other controls that are wider, you can see both values next to each other)

Milena
Telerik team
 answered on 30 May 2012
3 answers
94 views
is this version stable?
also, about the editor, when you include a hyperlink in the body does it truncate the URL to a relative URL? I noticed that the SP2010 OOB Content Editor WP does this and I need it to not do this.

THanks
Rumen
Telerik team
 answered on 30 May 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?