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

i have a code that display differently bwtween firefox and IE9. Both support CSS3

what i get from Firefox is that there is no spaces betweeen the textbox and the button, which is what i want.
But when i use IE9 to view, there is a space between the textbox and the button. How do i get the same display as firefox.

here is the code: Thanks

<td> <div style="text-align:center">
     <telerik:RadTextBox ID="RadTextBox1" Runat="server" 
            style="border-style: solid; border-width:8px; border-color:#e9e5d9; font-size:medium; border-radius: 3px 0px 0px 3px;font: bold 15px/10px 'lucida sans', 'trebuchet MS', 'Tahoma'; "
             Height="48px"
            Width="470px"
            EmptyMessage="search here......">
        </telerik:RadTextBox>
    
        <asp:Button ID="btnSearch" runat="server"
            style="overflow: visible; position:absolute; border:0px none #d83c3c; padding: 0;cursor: pointer;height: 48px;width: 110px; font: bold 15px/0px 'lucida sans', 'trebuchet MS', 'Tahoma';    color: #fff;    text-transform: uppercase; border-radius: 0px 3px 3px 0px;background-color: #d83c3c;"
            Text="SEARCH" />
 </div></td>
Nencho
Telerik team
 answered on 27 Aug 2012
2 answers
186 views
Hello.  Is it possible to access the DataItemIndex of the ListView on the aspx side in order to dynamically assign a CSS Class?
IE, something like:

<%# DataBinder.Eval(Container.DataItem.ItemIndex) % 2 == 0 ? "itemText" : "itemTextAlt" %>

What would be the proper syntax?  Thanks!

Angie
Top achievements
Rank 1
 answered on 27 Aug 2012
1 answer
73 views
Hi Telerik team,

I have to transfer an item from one RadListBoxes to multiple RadListBoxes , and used them to store in database , I am unable to transfer . Please send solution for this

Thank u,
Prasad
Nencho
Telerik team
 answered on 27 Aug 2012
6 answers
143 views
I'm getting this error when I click on the spell check button in the rad editor.  

Item has already been added.  Key in dictionary '6'  Key being added : '6'

I have the handler set up in the web.config, and have the tdf files in the App_Data\RadSpell folder.

I've attached a screenshot of the error I'm getting.

Thanks,
Aaron
Aaron
Top achievements
Rank 1
 answered on 27 Aug 2012
3 answers
165 views
Hii,
        I have a xxx.aspx page where i used a radsplitter. I divided the radSplitter into 2 radpanes. On left Radpane i am viewing an image and on right side i have some user controls where the user can give input and click submit. On code behind i am setting the focus on one of the Radtextbox when ever the page loads. I am able to get the focus on the radtextbox but, once the image loads on the radpane radtextbox is loosing its focus. So Please some one help me out with an appropriate solution??

Thans & Regards
Dev Jagarlamudi
Vessy
Telerik team
 answered on 27 Aug 2012
1 answer
54 views
Hi,all,

      I could not believe what I saw,but some of my telerik controls including RadTextBox,RadAsyncUpload,RadDatePicker was missing in IE7.I  have  tried to remove all the control's style,but nothing has been changed and the controls kept missing.
     What's the matter?How could this happen?

    Anybody can help me?
   
    Thanks in advance.
     
Nencho
Telerik team
 answered on 27 Aug 2012
1 answer
124 views
Hi,

Will RadCompression benefit of the Compression Enhancements in .NET 4.5?

Best Regards.
Andrey
Telerik team
 answered on 27 Aug 2012
1 answer
76 views
I can't seem to find my Tabstrip from Code behind. here is my setup:

Codebehind where I try and find tabstrip is loaded from a usercontrol in a multipage

C#
RadTabStrip tabstrip = (RadTabStrip)Page.Master.FindControl("RadTabStrip1"); //This returns null
RadTab SelectedTab = tabstrip.Tabs.FindTabByText("Testers"); //and blows up at this line

 Tabstrip , ajax loading panel, and multipage  is setup like this:
<telerik:RadTabStrip ID="RadTabStrip1" runat="server" SelectedIndex="0" MultiPageID="RadMultiPage2" OnClientTabSelecting="onTabSelecting" OnTabClick="RadTabStrip1_TabClick"></telerik:RadTabStrip>
       <script type="text/javascript">
           function onTabSelecting(sender, args) {
               if (args.get_tab().get_pageViewID()) {
                   args.get_tab().set_postBack(false);
               }
           }
       </script>
<telerik:RadAjaxLoadingPanel runat="server" ID="LoadingPanel1">
</telerik:RadAjaxLoadingPanel>
   <telerik:RadAjaxManager runat="server" ID="RadAjaxManager1">
       <AjaxSettings>
           <telerik:AjaxSetting AjaxControlID="RadTabStrip1">
               <UpdatedControls>
                   <telerik:AjaxUpdatedControl ControlID="RadTabStrip1" />
                   <telerik:AjaxUpdatedControl ControlID="RadMultiPage2" LoadingPanelID="LoadingPanel1" />
               </UpdatedControls>
           </telerik:AjaxSetting>
           <telerik:AjaxSetting AjaxControlID="RadMultiPage2">
               <UpdatedControls>
                   <telerik:AjaxUpdatedControl ControlID="RadMultiPage2" LoadingPanelID="LoadingPanel1" />
               </UpdatedControls>
           </telerik:AjaxSetting>
       </AjaxSettings>
   </telerik:RadAjaxManager>
 
   <telerik:RadSkinManager ID="RadSkinManager1" Runat="server" Skin="Office2010Blue"></telerik:RadSkinManager>
   <telerik:RadProgressManager ID="RadProgressManager1" Runat="server"/>
 
   <div>
     <br/>
     <telerik:RadMultiPage ID="RadMultiPage2" runat="server" SelectedIndex="0" OnPageViewCreated="RadMultiPage1_PageViewCreated"></telerik:RadMultiPage>
   </div>

Any ideas? 

Thanks
Nencho
Telerik team
 answered on 27 Aug 2012
5 answers
158 views
Hi!

My customers like the "inline" spellcheck mode that the RAD Editor provides.  How can I tie the inline spellcheck to a standard control?

I hope that I'm not overlooking something obvious...I see many examples of using the popup spell checker, but not how to use the inline editor with a non-RAD control.

Thanks!  I really enjoy the tools.

Rich
Rumen
Telerik team
 answered on 27 Aug 2012
1 answer
105 views
hi

i wonder if you can help

i have set up a radgrid with the google style filtering as explained here google like filter
i have combined it with some other features , but for whatever reason now it wont re-apply the filter on postback and i dont know why it has the filter items in the boxes, but is just not filtering the table anymore.

can anyone help ?

the grid is defined as
<telerik:RadGrid ID="RadGrid1" runat="server" OnColumnCreating="RadGrid1_ColumnCreating"
            OnNeedDataSource="RadGrid1_NeedDataSource" OnRowDrop="RadGrid1_RowDrop"
            AllowPaging="true" AllowSorting="true" Width="99%" PageSize="5" AutoGenerateColumns="false"
            AllowFilteringByColumn="True" AllowMultiRowSelection="true" Skin="Black" EnableLinqExpressions="false">
            <MasterTableView AllowFilteringByColumn="true" PageSize="15" EditMode="InPlace" TableLayout="Auto" >
            </MasterTableView>
            <PagerStyle Mode="NextPrevAndNumeric" />
            <ClientSettings AllowRowsDragDrop="True" AllowColumnsReorder="false">
                <Selecting AllowRowSelect="True" EnableDragToSelectRows="false" />
            </ClientSettings>
        </telerik:RadGrid>

i have an ajax manager

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadGrid1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGrid1" />
                    <telerik:AjaxUpdatedControl ControlID="point_selection" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>

and the following events defined
protected void RadGrid1_NeedDataSource(object source, GridNeedDataSourceEventArgs e)
{
    this.RadGrid1.DataSource = Classes.clsGlobal.FlowsData;
    this.RadGrid1.DataMember = Classes.clsGlobal.FlowsData.Tables[0].TableName;
}
 
protected void RadGrid1_ColumnCreating(object sender, GridColumnCreatingEventArgs e)
{
    if ((e.ColumnType == typeof(DailyFlowsFilter).Name))
    {
        e.Column = new DailyFlowsFilter();
    }
}
 
protected void RadGrid1_RowDrop(object sender, GridDragDropEventArgs e)
{
    IList<FlowItem> MyFlows = SelectedFlows;
 
    foreach (GridDataItem GD in e.DraggedItems)
    {
        FlowItem NewFlow = new FlowItem(GD["flow_item_name"].Text, GD["from_country"].Text, GD["to_country"].Text,
                                        GD["from_sys_op"].Text, GD["to_sys_op"].Text, GD["gas_type"].Text, GD["id"].Text,
                                        GD["source_id"].Text, GD["point_type"].Text, GD["source"].Text, GD["nominations"].Text, GD["flow_item_type"].Text);
        MyFlows.Add(NewFlow);
    }
 
    SelectedFlows = MyFlows;
    point_selection.Rebind();
}

please can you help
Kostadin
Telerik team
 answered on 27 Aug 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?