Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
154 views
Is possible use search with fulltext mssql search? for best performance.~ 10x faster like LIKE*. But i want use fast 3.5 LINQ version from 300.000 items demo;.
Radoslav
Telerik team
 answered on 15 Jul 2010
1 answer
339 views
I want to type some data into the ComboBox Text area and hit enter to have that data added to the combobox.

How can I do that?
Shinu
Top achievements
Rank 2
 answered on 15 Jul 2010
1 answer
106 views
Hi!

I am binding RadGrid with list of Users like RadGridUser.DataSource = userList and userList is List<User>, my question is, is there any way to get User object from the RadGrid on itemcommand or itemdatabound, I always found DataItem null...

Tsvetoslav
Telerik team
 answered on 15 Jul 2010
2 answers
73 views
hi,

im using radformdecorator and im having problem with all the text within my pages when i use non-IE browser. they seem edgy, thinner and pixelated. Please see picture attachments.

Here is my css:

/* Masterpages and Defults */
 
#center {
border:1px solid #93b4df;
border-top:0;
color:#6788be;
padding:2.5em 2em 2em 2em;
min-height:400px;
height:auto !important;
height:400px;
}
 
#conte {
background-color:#fafafa;
margin: 1em 2%;
min-width:930px;
position:absolute;
width:95%;
margin-top:0px;
}
 
#hat {
background-color:#8CBFDA;
height:2.4em;
max-height:2.4em;
}
 
#login
{
    text-align:right;
    vertical-align:bottom;
}
 
#login a
{
    color:#fefeff;
    font-size:0.8em;
    font-weight:bold;
}
 
#header
{
    background-color:#4e7dd1;
    width:100%;
    padding:0px 5px 0px 5px;
}
 
#pied {
padding:0.5em;
text-align:center;
background-color: #4e7dd1;
color:#fefeff;
}
 
.menuhaut {
font-size:1em;
list-style-type:none;
margin:0;
padding:0;
}
 
a
{
    color:#6F8EC2;
    text-decoration:underline;
}
 
body {
background-color: #4e7dd1;
font-family:Arial, Helvetica, sans-serif;
font-size:0.75em;
color:#3950a1;
}
 
h1, h2, h3, h4, h5
{
    font-weight:bold;
    color:#666666;
}
 
 
h1 {
font-size:1.2em;
margin: 0.5em 0.5em 1em 0;
}
 
h2 {
text-align:right;
font-size:1.1em;
margin:0.8em 0.5em 0.3em 0.6em;
}
 
h3 {
font-size:0.9em;
margin:0.8em 0.5em 0.3em 0.8em;
}
 
h4 {
font-size:0.8em;
margin:0.7em 0.5em 0.3em 1em;
}
 
h5 {
font-size:0.7em;
margin:0.6em 0.5em 0.2em 1.5em;
}
 
p {
margin:1px 0.5em 0.5em 1.5em;
}
 
.mainmenu
{
    width:100%;
    padding:0;
    margin:0;
}
 
.RadMenu ul.rmRootGroup {
  float:none !important;
}
 
.error
{
    color:Red; 
}
 
#bodyPop {
background-color: #fafafa;
font-family:Arial, Helvetica, sans-serif;
font-size:0.75em;
color:#3950a1;
overflow:hidden
}
Georgi Tunev
Telerik team
 answered on 15 Jul 2010
1 answer
72 views
possible fill atribute with declaratived way? i need put ID to rating attribute in grid -> nested view. Somthing like this:

<

 

 

telerik:RadRating ID="RadRatingOverAll" runat="server" ItemCount="8" onrate="RadRating4_Rate" AutoPostBack="True" EnableToolTips="True" Attribute='<%# Eval("ID")%>' >

 

 

 

</telerik:RadRating>

 

Tsvetie
Telerik team
 answered on 15 Jul 2010
1 answer
133 views
Hi..
How do I change the font / style on the vertical tabs?   Changing the font/size doesn't seem to do anything..

Is there anyway to make the tab horizontial but have the pane slide left?

thanks again
Svetlina Anati
Telerik team
 answered on 15 Jul 2010
1 answer
55 views
Hi,
 I see that by default the Filter condition is always "AND", is there any way to change it to "OR" or let the users select whether they want "AND/OR" in their filter criteria??

Thanks,
Reena
Tsvetoslav
Telerik team
 answered on 15 Jul 2010
1 answer
375 views
Hi,
     I have grid whith 2 columns.  Couldm1 - row number and Coulmn 2 "Description"(TextBox) and button next to this description text box. When i click on this button i want to open a radwindow with single Textbox that should get value from the parent page (radgrid Description column) and disply in the radwindow Textbox , also when i change the value in Radwindow Textbox and click "Ok" button in radwindow I need want to the grid to be updated with the values entred. I tried a using javascript. But one issue is we can't send huge data using Quertystring.

"The spec for URL length does not dictate a minimum or maximum URL length, but implementation varies by browser. On Windows: Opera supports ~4050 characters, IE 4.0+ supports exactly 2083 characters, Netscape 3 -> 4.78 support up to 8192 characters before causing errors on shut-down, and Netscape 6 supports ~2000 before causing errors on start-up"

so Is there any other way to achive this ?

please check my existing code for this ..


ASPX code 

<telerik:RadGrid ID="grd1" runat="server" AllowPaging="true" PageSize="10" AllowSorting="true"
                AutoGenerateColumns="False" GridLines="None" Skin="WebBlue" OnItemDataBound="OnItemDataBoundgrd1" >
              <MasterTableView >
              <Columns>
              
                    <telerik:GridBoundColumn
                   DataField="ID"
                   HeaderText="ID"
                   SortExpression="ID"
                   UniqueName="ID" AllowSorting="true" />
                                 
                   <telerik:GridBoundColumn
                    <telerik:GridTemplateColumn HeaderText="Comments" UniqueName="Comments">
                <ItemTemplate><asp:TextBox ID="txtDetailDesc" runat="server" TextMode="MultiLine"  Columns="90" Text='<%# Eval("Comments") %>'></asp:TextBox>
                        <asp:Button ID="btnShowfullDescription" runat="server" Text="..." /></ItemTemplate>
                </telerik:GridTemplateColumn>

           </Columns>
              </MasterTableView>
            </telerik:RadGrid> 



.CS code 

 protected void OnItemDataBoundgrd1(object sender, GridItemEventArgs e)
    { 
 string strD;
        string strDetailDesc;
        if (e.Item is GridDataItem)
        {
            GridDataItem dataItem = e.Item as GridDataItem;
            intID = dataItem["ID"].Text.ToString();
            PropertyDetailDesc = dataItem["Property"].Text; 
            TextBox txtDetailDesc = e.Item.FindControl("txtDetailDesc") as TextBox;
            strDetailDesc = txtDetailDesc.Text;
            LinkButton btnOpenFullDesc = e.Item.FindControl("btnShowfullDescription") as LinkButton;
            btnOpenFullDesc.OnClientClick = "return OpenWindow('wndnew','Comments.aspx?" + "ID=" + intID + "&DetailDesc=" + strDetailDesc + "','');";
   }
}

Please help . my entire app need this functionality!!!!

Thanks
Anand Kesavan
Tsvetina
Telerik team
 answered on 15 Jul 2010
1 answer
207 views
I have two RadDatePicke controls which share a embedded calendar control. I created the custom skin for RadInput and RadCalendar, and tried to customize the popup calendar look and feel. Howerer, many times, the CSS is referred to Telerik WebResource instead of my customized local CSS file. How to avoid the reference to Telerik WebResource? Please advise it.
WebForm.aspx
    <link href="../Skins/NonTrans/Calendar.NonTrans.css" rel="stylesheet" type="text/css" />
    <link href="../Skins/Calendar.css" rel="stylesheet" type="text/css" />
    <link href="../Skins/NonTrans/Input.NonTrans.css" rel="stylesheet" type="text/css" />
    <link href="../Skins/Input.css" rel="stylesheet" type="text/css" />
        <table style="border-bottom: 1px dotted #EFEFEF; margin-bottom: 8px; font-size: 11px;" width="90%">
        <tr>
            <td colspan="4" style="padding-bottom:8px;">
            <asp:Label ID="CustomDateRangeLabel" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
            <asp:Label ID="DateRangeFromLabel" runat="server" AssociatedControlID="fromDatePicker"></asp:Label>
            </td>
            <td>
            <telerik:RadDatePicker ID="fromDatePicker" runat="server" 
                Width="120px" 
                BackColor="White" 
                BorderWidth="0"                 
                AutoPostBack="false" 
                ZIndex="8000"
                TabIndex="12"
                Font-Names="verdana, arial, sans-serif"
                DateInput-EmptyMessage="MM/DD/YYYY"
                DateInput-AccessKey="F"
                Skin="NonTrans"
                EnableEmbeddedSkins="false"                
                SharedCalendarID="SharedCalendar"
                OnSelectedDateChanged="RadDatePicker_OnSelectedDateChanged">
                <ClientEvents OnDateSelected="FromDateSelected" />
            </telerik:RadDatePicker>
            </td>
            <td>
            <asp:Label ID="DateRangeToLabel" runat="server" AssociatedControlID="toDatePicker"></asp:Label>
            </td>
            <td>
            <telerik:RadDatePicker ID="toDatePicker" runat="server" 
                Width="120px" 
                BackColor="White" 
                BorderWidth="0" 
                ZIndex="8000"
                TabIndex="14"
                DateInput-AccessKey="T"
                Font-Names="verdana, arial, sans-serif"
                AutoPostBack="false"
                DateInput-EmptyMessage="MM/DD/YYYY"
                Enabled="true"
                Skin="NonTrans"
                EnableEmbeddedSkins="false"                
                SharedCalendarID="SharedCalendar"
                OnSelectedDateChanged="RadDatePicker_OnSelectedDateChanged">
                <ClientEvents OnDateSelected="ToDateSelected" />
                <DatePopupButton onblur="CloseDropDown()" />
            </telerik:RadDatePicker>
            </td>
        </tr>
        </table>
            <telerik:RadCalendar ID="SharedCalendar" runat="server" 
                Skin="NonTrans"
                EnableEmbeddedSkins="false"                
                EnableEmbeddedBaseStylesheet="false"
                ShowRowHeaders="false" 
                CssClass="datepicker" 
                TabIndex="13" 
                ShowOtherMonthsDays="false" 
                DayNameFormat="Short" 
                DayStyle-Font-Bold="true" 
                DayOverStyle-Font-Bold="true">
            </telerik:RadCalendar>
  
FireBug Window
  
.RadCalendar .rcMain .rcRow a, .RadCalendar .rcMain .rcRow span {
display:block;
padding:1px 5px 1px 0;
text-decoration:none;
}
Teleri...f65231b (line 665)
  
.RadCalendar .rcMain .rcRow a, .RadCalendar .rcMain .rcRow span {
display:block;
padding:1px 1px 1px 0;
text-decoration:none;
}
Calendar.css (line 121)
  
.RadCalendar_NonTrans .rcMain .rcRow a, .RadCalendar_NonTrans .rcMain .rcRow span {
color:#405EBE;
padding:1px 1px 1px 0;
text-align:center;
}
Dimo
Telerik team
 answered on 15 Jul 2010
4 answers
472 views
<telerik:RadMultiPage ID="RadMultiPage1" runat="server">  
            <telerik:RadPageView ID="RadPageViewIntro" runat="server" Selected="true">  
              
<li><asp:Label ID="Label1" runat="server" Text="Due at(time) hours:" AssociatedControlID="lsthh"></asp:Label>  
           <telerik:RadComboBox ID="lsthh" runat="server" AppendDataBoundItems="True"   
                AutoPostBack="True" CausesValidation="False" 
                OnSelectedIndexChanged="lsthh_SelectedIndexChanged" Width="50px"   
                   MaxLength="50">  
                <Items><telerik:RadComboBoxItem Text="Choose One..." Value="0" Selected="True" />  
                <telerik:RadComboBoxItem runat="server" Text="to be allocated" Value="1" /><telerik:RadComboBoxItem runat="server" Text="shared" Value="2" /></Items></telerik:RadComboBox>  
                <asp:RequiredFieldValidator ID="RFV_lsthh" runat="server" ValidationGroup="Visitor" InitialValue="Choose One..." ControlToValidate="lsthh" ErrorMessage="Please enter time in hours of visit">*</asp:RequiredFieldValidator>  
            &nbsp;&nbsp<b>:</b>&nbsp;&nbsp;  
                <telerik:RadComboBox ID="lstmm" runat="server" AppendDataBoundItems="True"   
                AutoPostBack="True" CausesValidation="False"   
                OnSelectedIndexChanged="lstmm_SelectedIndexChanged" Width="50px">  
                <Items><telerik:RadComboBoxItem Text="Choose One..." Value="0" Selected="True" />  
                <telerik:RadComboBoxItem runat="server" Text="to be allocated" Value="1" /><telerik:RadComboBoxItem runat="server" Text="shared" Value="2" /></Items></telerik:RadComboBox>  
                <asp:RequiredFieldValidator ID="RFV_lstmm" runat="server" ValidationGroup="Visitor" InitialValue="Choose One..." ControlToValidate="lstmm" ErrorMessage="Please enter time in minutes of visit">*</asp:RequiredFieldValidator></li>                  
            </li>     
              
                    <li><asp:ValidationSummary ID="validationSummary1" runat="server" ValidationGroup="Visitor" />  
                    <asp:Button ID="bnVistors" runat="server" CausesValidation="true" OnClick="bnVisitors_Click" 
            Text="Next" ValidationGroup="Vistor" /></li></ol></telerik:RadPageView>       
The RadComboBox width does not work.I do not want dropdownwidth. I want to change the width.
I have set the width to 50px but it doesnt work.
I tried Radcombobox width property outside <asp:content> and it works fine but not within <asp:content>.

Also I want
hh:mm
dropdownlist side to each other. But I cant get it in <li> tag.#
Any help is appreciated.
Kalina
Telerik team
 answered on 15 Jul 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?