Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
96 views

Hello,

I want to utilize the Rad grid control on a web page which is heavily used for the data entry work. The way the user wants the grid to work is that they want to add all the records and then click a "Save All" button which will insert all the newly added data to the SQL server database. By doing so they want to prevent the post back / Ajax request to the server for every new record that is added and thereby save the data entry time.

Also, the number of new records to be added is not fixed, so when the user clicks on the tab key on the last cell of the new record a new row should get created and it should happen on the client side without hitting the server.

Is it possible to do this using Rad grid control? I have seen a demo where tool tip is used to achieve similar functionality but the users are not very confortable with that design approach. They want to do the data entry directly on the datagrid.

Please advice.

Regards,
Rajiv

Iana Tsolova
Telerik team
 answered on 20 Dec 2008
1 answer
138 views
I'm trying to use the ExportToPdf() method in the RadEditor control, and it doesn't actually put out any PDF. At first, I was getting errors about valid XHTML, but I'm converting to XHTML now before invoking the method and no longer get any errors. I just don't get anything. Does anybody have any suggestions?

Thanks,

Walt
Rumen
Telerik team
 answered on 20 Dec 2008
3 answers
103 views
Hi telerik team.

   i  got some problem when i use Tree View to show my information  when i click Tree View first time for select value

i debuged it . The value is nothing when i clicked first time when i click it again the tree view gave me old value in first

to me. (  first get nothing value  , second get first  value , third get second value ) .

 i use query string for url in "DataNavigateUrlField"

could u help me pls . got problem for long time if u have new idea for get value from tree view please suggest me

thank you ..
Yana
Telerik team
 answered on 20 Dec 2008
1 answer
88 views
I'm trying to figure out why my date range says 12/14/2008 - 12/21/2008 when it should say 12/14/2008 - 12/20/2008.  I attached a link to an image to show what I'm talking about.Date Range Image
Peter
Telerik team
 answered on 20 Dec 2008
1 answer
124 views
Is it possible to enter only number.if the user enter  dot (.) it shouldn't display
Dimo
Telerik team
 answered on 20 Dec 2008
7 answers
182 views
Hi,

I'm having an issue with the dropdownlist controls not being made visible after opening/closing a modal window.

It seems to me that if the JavaScript is able to hide the dropdownlist's when the window is first opened, that it should be able to restore their previous state when it is closed.

I attempted to create a small page to test this outside of our application and it did indeed hide the dropdownlist on show, and restore it back afterwards.

In your experience what could cause an issue like this?  There is no JavaScript errors ocurring that would halt your events from firing.

Thanks

Edit:  This was meant for the Window forum, could a mod please move it?
Georgi Tunev
Telerik team
 answered on 20 Dec 2008
1 answer
168 views
Hello,

I"m following the instructions here:

ON the click event of my asp:button, I want it to throw an alert window. I am following the first example, as I am not using update panels at this point.

When I click the button, nothing is happening. Any thoughts?
Georgi Tunev
Telerik team
 answered on 20 Dec 2008
1 answer
235 views
Hi, I am trying to put a custom skin to use with FormDecorator.
All I did is past content of "FormDecorator.Office2007.css" to my page, rename "Office2007" to "MyWebsite" and create a folder "FormDecorator" and copy over Telerik stock Office2007 skin images.

Create a page, added RadScriptManager and RadFormDecorator and a button.
Set RadFormDecorator with EnableEmbeddedSkins="False" Skin="MyWebsite"

The weird thing is, when I clicked on the button (actually mouse down), the button background disappears! Release mouse will revive the background but if you click the button again the same problem will happen again.




This problem is reproduceable on IE,Firefox,Safari,Opera,Chrome
Please advise how to fix this issue. Thanks!

Following is my test page:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="test.aspx.cs" Inherits="test" %> 
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" style="height: 100%; width: 100%; margin: 0px; 
padding: 0px; overflow: hidden;"> 
<head runat="server"
    <title></title
    <style> 
        /***********************************Copy of FormDecorator.Office2007.css********************************//* FORM DECORATOR  */.radfd_MyWebsite.radfd_ScrollBars 
        { 
            scrollbar-3dlight-color: #606f94; 
            scrollbar-arrow-color: #4d5874; 
            scrollbar-base-color: #f5f5f5; 
            scrollbar-darkshadow-color: #5f6e93; 
            scrollbar-face-color: #d8dfe8; 
            scrollbar-highlight-color: #fff; 
            scrollbar-shadow-color: #a3a3a3; 
            scrollbar-track-color: #efefef; 
        } 
        /* label settings */.radfd_MyWebsite label.MyWebsite 
        { 
            color: #626262; 
        } 
        /* checkbox settings */.radfd_MyWebsite .radfdCheckboxUnchecked, .radfd_MyWebsite .radfdInputDisabled.radfdCheckboxUnchecked:hover 
        { 
            background: transparent url(FormDecorator/CheckBoxSprites.gif) no-repeat 0 0; 
        } 
        .radfd_MyWebsite .radfdCheckboxUnchecked:hover 
        { 
            background: transparent url(FormDecorator/CheckBoxSprites.gif) no-repeat 0 -200px; 
        } 
        .radfd_MyWebsite .radfdCheckboxChecked, .radfd_MyWebsite .radfdInputDisabled.radfdCheckboxChecked:hover 
        { 
            background: transparent url(FormDecorator/CheckBoxSprites.gif) no-repeat 0 -420px; 
        } 
        .radfd_MyWebsite .radfdCheckboxChecked:hover 
        { 
            background: transparent url(FormDecorator/CheckBoxSprites.gif) no-repeat 0 -640px; 
        } 
        /* end of checkbox settings *//* radiobutton settings */.radfd_MyWebsite .radfdRadioUnchecked, .radfd_MyWebsite .radfdInputDisabled.radfdRadioUnchecked:hover 
        { 
            background: transparent url(FormDecorator/RadioButtonSprites.gif) no-repeat 1px 0; 
        } 
        .radfd_MyWebsite .radfdRadioUnchecked:hover 
        { 
            background: transparent url(FormDecorator/RadioButtonSprites.gif) no-repeat 1px -220px; 
        } 
        .radfd_MyWebsite .radfdRadioChecked, .radfd_MyWebsite .radfdInputDisabled.radfdRadioChecked:hover 
        { 
            background: transparent url(FormDecorator/RadioButtonSprites.gif) no-repeat 1px -440px; 
        } 
        .radfd_MyWebsite .radfdRadioChecked:hover 
        { 
            background: transparent url(FormDecorator/RadioButtonSprites.gif) no-repeat 1px -640px; 
        } 
        /* end of radiobutton settings *//* button settings */a.radfd_MyWebsite, a.radfd_MyWebsite span 
        { 
            background-image: url(FormDecorator/ButtonSprites.gif); /* font: normal 12px Arial, Verdana, Sans-serif; */ 
            color: black; 
        } 
        a.radfd_MyWebsite.radfdInputDisabled:hover 
        { 
            background-position: 0 0; 
        } 
        a.radfd_MyWebsite 
        { 
            padding-left: 4px; 
        } 
        a.radfd_MyWebsite .radfdInnerSpan, a.radfd_MyWebsite.radfdInputDisabled:hover .radfdInnerSpan 
        { 
            margin-right: 4px; 
            background-position: 0 -21px; 
        } 
        a.radfd_MyWebsite.radfdInputDisabled:hover .radfdOuterSpan 
        { 
            background-position: right 0; 
        } 
        a.radfd_MyWebsite:hover 
        { 
            background-position: 0 -42px; 
        } 
        a.radfd_MyWebsite:hover .radfdInnerSpan 
        { 
            background-position: 0 -63px; 
        } 
        a.radfd_MyWebsite:hover .radfdOuterSpan 
        { 
            background-position: right -42px; 
        } 
        /* button settings *//* clicked button styles */a.radfd_MyWebsite.radfd_Clicked 
        { 
            background-image: url(FormDecorator/ButtonSprites.gif); 
            background-position: 0 -84px; 
            background-repeat: no-repeat; 
        } 
        a.radfd_MyWebsite.radfd_Clicked span 
        { 
            background-image: url(FormDecorator/ButtonSprites.gif); 
            color: #000; 
        } 
        a.radfd_MyWebsite.radfd_Clicked .radfdInnerSpan 
        { 
            background-position: 0 -105px; 
            background-repeat: repeat-x; 
        } 
        a.radfd_MyWebsite.radfd_Clicked .radfdOuterSpan 
        { 
            background-position: right -84px; 
            background-repeat: no-repeat; 
        } 
        /* end of clicked button styles *//* do NOT change these settings, otherwise the skinned buttons will be broken when used within a decoration zone */a.radfdSkinnedFormButton.radfd_MyWebsite 
        { 
            -moz-user-select: none !important; 
            outline: none !important; 
            text-decoration: none !important; 
            cursor: default !important; 
            text-align: center !important; 
            background-color: transparent !important; 
            border: 0 !important; 
            display: inline-block !important; 
        } 
        /* Headings 4-6 */.radfd_MyWebsite h4.radfd_h4 
        { 
            color: #567db0; 
            border-bottom: solid 1px #a0a0a0; 
        } 
        .radfd_MyWebsite h5.radfd_h5 
        { 
            color: #000000; 
            border-bottom: solid 1px #a0a0a0; 
        } 
        .radfd_MyWebsite h6.radfd_h6 
        { 
            color: #000000; 
        } 
        /* LABEL */.radfd_MyWebsite label.radfd_label 
        { 
            color: #000000; 
        } 
        /* FIELDSET & LEGEND */.radfd_MyWebsite table.radfd_roundedWrapper_fieldset legend, .radfd_MyWebsite fieldset.radfd_fieldset legend 
        { 
            /*Mandatory to set the height of the legend, so as to be able to calculate the rounded corners in IE properly*/ 
            font-size: 12px; 
            height: 30px; 
            line-height: 30px; 
            color: #000000; 
        } 
        .radfd_MyWebsite table.radfd_roundedWrapper_fieldset fieldset, .radfd_MyWebsite fieldset.radfd_fieldset 
        { 
            border: solid 1px #d5dfe5; 
            background-image: url(FormDecorator/FieldsetBgr.png); /*  
having a background image on a fieldset is not okay with IE */ 
            background-repeat: no-repeat; /*Mandatory to use because of incorrect IE positioning of the image*/ 
        } 
        /* Due to a glitch in IE the following 2 classes must be declared separately for correct parsing of the textarea class in IE6*/.radfd_MyWebsite table.radfd_roundedWrapper input, .radfd_MyWebsite table.radfd_roundedWrapper textarea, .radfd_MyWebsite input.radfd_input, .radfd_MyWebsite textarea.radfd_textarea 
        { 
            border: solid 1px #7f9db9; 
            background: #ffffff; 
            color: #000000; 
            overflow: hidden; 
        } 
        .radfd_MyWebsite table.radfd_roundedWrapper input[disabled="disabled"]:hover, .radfd_MyWebsite table.radfd_roundedWrapper textarea[disabled="disabled"]:hover 
        { 
            border: solid 1px #8e8e8e; 
            background: #ffffff; 
            color: #171717; 
            overflow: hidden; 
            filter: alpha(opacity=30); 
            -moz-opacity: .3; 
            opacity: .3; 
        } 
        /* add classes for HOVER effect */.radfd_MyWebsite table.radfd_roundedWrapper input:hover, .radfd_MyWebsite table.radfd_roundedWrapper textarea:hover, .radfd_MyWebsite table.radfd_roundedWrapper:hover .radfd_roundedInnerSpan, .radfd_MyWebsite input.radfd_input:hover, .radfd_MyWebsite textarea.radfd_textarea:hover 
        { 
            border-color: #38577e !important; 
            background: #ffffff; 
        } 
        .radfd_MyWebsite table.radfd_roundedWrapper:hover .radfd_roundedOuterSpan 
        { 
            background-color: #38577e !important; 
        } 
        /***********************************************************************************************/</style> 
</head> 
<body style="height: 100%; width: 100%; margin: 0px; padding: 0px; overflow: hidden;"
    <form runat="server"
    <telerik:RadScriptManager ID="uxRadScriptManager" runat="server"
    </telerik:RadScriptManager> 
    <telerik:RadFormDecorator ID="uxRadFormDecorator" runat="server" EnableEmbeddedSkins="False" 
        Skin="MyWebsite" /> 
    <asp:Button ID="uxButton" runat="server" Text="Button" /> 
    </form> 
</body> 
</html> 
 
 
Martin
Telerik team
 answered on 20 Dec 2008
1 answer
105 views
Hi,

I'm facing an issue with the RadDatePicker control in IE 6. Select a date say . Dec 5, 2008 from the calendar popup. It puts the date on the datepicker textbox. it is fine. Now when I click the datepicker Calendar popup again, it pre-populates with May 12, 2008 instead of the selected Dec 5, 2008 . I see that it is switching the month and the day and the issue is with the date format.

This happens only in IE 6 . It works fine in Firefox and IE 7. How do I deal with this so that it works universally across all browsers?

Thanks.
Dimo
Telerik team
 answered on 20 Dec 2008
1 answer
77 views
Hi,

I've been trying to figure out how to hide the RadGrid edit form using javascript but so far have not been successful.  Is there any type of documentation anywhere about ALL the features of the Client API.  I keep finding some documents here and there but nothing seems to be very thorough.

Thanks,

Marek
Iana Tsolova
Telerik team
 answered on 20 Dec 2008
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?