Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
126 views
I'm finding that the RadListBox doesn't play well with other controls that utilize layering.  Internally we use a jQuery menu that cascades down on MouseOver.  We also use the AJAX Toolkit Calendar control that overlays a calendar.  In both instances, the menu and the calendar control go over everything on the page (other ASP.NET controls, other Telerik Controls include RadGrids) but the RadListBox stays as the top most item and blocks the menu and calendar control.  I've tried manually setting the z-index of the RadListBox but it doesn't seem to have any impact.  It's something that's set within one of the default styles because if I set EnableEmbeddedBaseStylesheet and EnableEmbeddedSkins both to false then the issue goes away.  Of course so then does the nice visual of the RadListBox.  I've tried overriding the styles using the StyleBuilder.  I've verified that there's nothing within these Styles that cause the issue.  It seems to be something within the RadListBox style but I haven't examined that particular style to try to find out what.  Any ideas or suggestions on overriding that particular style or suggestions on how to prevent that one style from being included while still allowing me customize other aspects of the styling?
Simon
Telerik team
 answered on 23 Dec 2010
1 answer
299 views
Hi,

I would like to set a RadToolTip from the code behind to a textbox.
I have a property named ErrorDescription, when i fill this property i would like to set the tooltip text property and whatever i need, so,
at last when the textbox will get a focus the tooltip will be display.

I don't want to use any javascript or html code. only from the code behind.
One more important thing, i don't want any postback.

Is it possible?


Thank you.
Svetlina Anati
Telerik team
 answered on 23 Dec 2010
3 answers
145 views
I am using the Ajaxmanager for a control.  When I added partial caching to the control, I got some issues with the Rad Controls.  See the attched file.  Is there any way around this.
Veli
Telerik team
 answered on 23 Dec 2010
1 answer
235 views
Hi,

I have using Nested Template into RadGrid. but scrolling not working for me. i checked all the ways. but still it's not working.

Here the code what i am using. but i remove the nested template scrolling working fine. can anyone give me suggestion for this one.

I want more important that one.

i have two questions.

1. how to get scrolling when using nestedTemplate into radgrid.
2. how to automatically expand nestedtemplate when have at least one record. otherwise how to disable nested template.

Hi this is very very urgent. please help to me.

Here i send code and screen shot.

  <asp:View ID="vwEarningslist" runat="server">
                   <telerik:RadGrid ID="rgEarningslist" runat="server" DataSourceID="sdsEarningslist" AutoGenerateColumns="False"  AllowSorting="True" GridLines="None" Width="740px" ShowStatusBar="true">
                        
                        <ExportSettings  ExportOnlyData="true" IgnorePaging="True" OpenInNewWindow="true">
                        </ExportSettings>                
                        
                        
                        <MasterTableView  AllowMultiColumnSorting="true" DataKeyNames="CLIENTEARNINGID" Width="100%" CommandItemDisplay="Top">
                            <CommandItemSettings ShowExportToPdfButton="true" ShowExportToCsvButton="false"
                                ShowExportToExcelButton="True" ShowExportToWordButton="false"
                                ShowAddNewRecordButton="False"/>
                            <ParentTableRelation>
                                        <telerik:GridRelationFields DetailKeyField="client_earning_id"  MasterKeyField="CLIENTEARNINGID" />
                                    </ParentTableRelation>
                                    <Columns>     
                                        <telerik:GridBoundColumn SortExpression="EARNINGCODE" HeaderText="Code" DataField="EARNINGCODE"  Resizable="True" Reorderable="True"  HeaderButtonType="TextButton"></telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn SortExpression="EARNINGDESCRIPTION" HeaderText="Description" DataField="EARNINGDESCRIPTION"  Resizable="True" Reorderable="True"  HeaderButtonType="TextButton"></telerik:GridBoundColumn>
                                     <telerik:GridBoundColumn SortExpression="TIMECLOCKCODE" HeaderText="Time Clock Code" DataField="TIMECLOCKCODE" Resizable="True" Reorderable="True"  HeaderButtonType="TextButton"></telerik:GridBoundColumn>
                                      <telerik:GridBoundColumn SortExpression="FREQUENCY" HeaderText="Frequency" DataField="FREQUENCY" Resizable="True" Reorderable="True"  HeaderButtonType="TextButton"></telerik:GridBoundColumn>
                                       <telerik:GridBoundColumn SortExpression="GLNO" HeaderText="GL Number" DataField="GLNO" Resizable="True" Reorderable="True"  HeaderButtonType="TextButton"></telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn SortExpression="DATATYPE" HeaderText="Data Type" DataField="DATATYPE" Resizable="True" Reorderable="True"  HeaderButtonType="TextButton"></telerik:GridBoundColumn>
                                         <telerik:GridBoundColumn SortExpression="UNITRATE" HeaderText="Unit Rate" DataField="UNITRATE" Resizable="True" Reorderable="True"  HeaderButtonType="TextButton"></telerik:GridBoundColumn>
                                           <telerik:GridCheckBoxColumn  HeaderText="Taxable?"  ></telerik:GridCheckBoxColumn>
                                           <telerik:GridCheckBoxColumn  HeaderText="Exclude WC?" ></telerik:GridCheckBoxColumn>
                                           <telerik:GridCheckBoxColumn  HeaderText="Employer Contribution?"  ></telerik:GridCheckBoxColumn>
                                         <telerik:GridCheckBoxColumn  HeaderText="Employee Contribution?"  ></telerik:GridCheckBoxColumn>
                                           <telerik:GridCheckBoxColumn  HeaderText="Exclude Savings?"  ></telerik:GridCheckBoxColumn>                                            
                                           <telerik:GridCheckBoxColumn  HeaderText="Include In AddI Check?" ></telerik:GridCheckBoxColumn>
                                           <telerik:GridCheckBoxColumn  HeaderText="Exclude From Net Calc?" ></telerik:GridCheckBoxColumn>
                                           <telerik:GridCheckBoxColumn  HeaderText="In/Out?" ></telerik:GridCheckBoxColumn>
                                     </Columns>
                                    <NestedViewTemplate>
                                        <telerik:RadGrid ID="rgEarningChildList" runat="server" Width="675px" DataSourceID="sdsTaxDescription"
                                            AutoGenerateColumns="false" AllowSorting="true" >
                                            <MasterTableView Width="95%" DataKeyNames="client_earning_id"  HeaderStyle-VerticalAlign="Middle">
                                                <NoRecordsTemplate>
                                                    <div align="center" >
                                                        There are no records to display</div>
                                                </NoRecordsTemplate>
                                                <Columns>
                                                     <telerik:GridBoundColumn HeaderText="Location" DataField="REPLOC"></telerik:GridBoundColumn>
                                                     <telerik:GridBoundColumn HeaderText="Worksite" DataField="WORKSITE"></telerik:GridBoundColumn>
                                                     <telerik:GridBoundColumn HeaderText="Cost Center" DataField="COSTCENTER"></telerik:GridBoundColumn>
                                                     <telerik:GridBoundColumn HeaderText="GL Number" DataField="GLNUM"></telerik:GridBoundColumn>
                                                     <telerik:GridBoundColumn HeaderText="Description" DataField="GLDESCRIPTION"></telerik:GridBoundColumn>
                                                </Columns>
                                            </MasterTableView>
                                            <HeaderStyle Wrap="false" />                   
                        <ClientSettings>
                            <Scrolling AllowScroll="True" UseStaticHeaders="true" SaveScrollPosition="true"/>
                        </ClientSettings>
                                        </telerik:RadGrid>
                                    </NestedViewTemplate>
                        </MasterTableView>     
                        <HeaderStyle Wrap="false" />                   
                        <ClientSettings>
                            <Scrolling AllowScroll="True" UseStaticHeaders="true" SaveScrollPosition="true"/>
                        </ClientSettings>
                    </telerik:RadGrid>
                             
            </asp:View>

Thanks in Advance,
Dhamu.
Princy
Top achievements
Rank 2
 answered on 23 Dec 2010
1 answer
97 views
I have build a solution using the AdvanceForm  example and everything is working fine,
I group the scheduler by resource insert appointment, custom it work perfect.

then I tried to add some limitation and handle the event of appointment Inserted
here the problem starts,
the resource are not being passed as part of the e.Appointment... and I get some attribute with I don't expect to have at all.

the data is being save and load from DB OK,

can you advise?
I'm using 2010 Q1

Mickey
Mickey
Top achievements
Rank 1
 answered on 23 Dec 2010
1 answer
75 views
Hi,

I have been working on telerik grid master and detail table view alignment ie i need to align the detail table column width with parent grid row.If i increase/decrease column width of the detail table,then the same alignment must be applied for  master grid and also if i change the parent grid alignment it should be apply to detail table also.
I am trying with the following code ,but not able to get it.

function dragGridColSize()

        {

            debugger;

              var grid = window["<%= grdSearch.ClientID %>"];

                    var masterTableView = $find("<%= grdSearch.ClientID %>").get_masterTableView();

                     for (var masterIndex = 0; masterIndex < masterTableView.get_dataItems().length; masterIndex++)

                     {

                          var masterDataItem = masterTableView.get_dataItems()[masterIndex];

                       

                          var detailtableView=$find('ctl00_cntPageHolder_grdSearch').get_detailsTableView();

                         

                          for(var detailIndex=masterIndex; detailIndex < detailtableView.get_dataItems().length; detailIndex++)

                          {

                             var detailDataItem = detailtableView.get_dataItems()[detailIndex];

                             detailDataItem._element.style.position= masterDataItem._element.style.position;

                          }

                         

                          

                     }

        }

Tsvetina
Telerik team
 answered on 23 Dec 2010
5 answers
118 views
Hi,

I'm using a RadDock for editing/inserting appointments in a scheduler control. I disable the scheduler control (setting Enabled=false) when the RadDock opens, so the user can't move,  resize or edit other existing appointments while the current appointment is being edited (I want to simulate a kind of modal window). It works fine in IExplorer but not in FireFox, because I still can move, resize, edit or insert appointments. Is there a solution for this feature in FireFox?

Regards.
Veronica
Telerik team
 answered on 23 Dec 2010
4 answers
183 views
Issue 1:
I am using RadWindow to show a modal dialog. In all browsers except IE I get right behavior i.e. you can still see the parent page, just cant click on it. But in IE, color is so dark it hides the parent page. Attached are pictures showing the difference. Any idea why is it happening.

Issue 2:
Interestingly I am using exact same code in another page and there I get correct background in all browsers and you can see parent page in all browsers when dialog is open. But when I close dialog window, it scrolls the parent page to the top. Even though there is no refresh or anything on window close.

Would appreciate any help. thanks.
Georgi Tunev
Telerik team
 answered on 23 Dec 2010
1 answer
168 views
When we decrease the width of the window in Firefox, the collapse/expand and close buttons are being forced to the line below the titlebar. I think this has to do with the fact that the title itself is now its own element. Once the collapse/expand buttons hit that element in Firefox, the buttons get forced to the next line. Prior to the latest telerik update, the title and buttons were contained within the same element so they blended together when resizing the window. How to resolve this? It's like I have to set the minimum width of the titlebar but that isn't working in firefox. It just keeps decresing in width beyond the set width.

/* START RadDock_Office2007 styles */
  
.RadDock_Office2007 .rdTop .rdLeft,
.RadDock_Office2007 .rdTop .rdRight
{
    background-image: url('../images/Brand/DashboardHorizontalSprite.gif') !important;
}
  
.RadDock_Office2007 .rdTop .rdCenter
{
    background-image: url('../images/Brand/DashboardVerticalSprite.gif') !important;
}
  
.RadDock_Office2007 .rdTitleBar em
{
    line-height:25px !important;    
    color:#15428B !important;
    font-family:Tahoma,verdana,arial !important;
    font-size:11px !important;
    font-style:normal !important;
    font-variant:normal !important;
    font-weight:bold !important;
    text-align:left !important;
    width:auto !important;
}
  
.RadDock_Office2007
{
    margin: 0px 0px 5px 0px !important;
}
   
/* END RadDock_Office2007 styles */
  
  
/* START RadDock styles */
  
 .rdContent
{
    font-family:Tahoma,verdana,arial !important;
    font: 11px Tahoma,verdana,arial !important;
}
  
.RadDock .rdTable .rdMiddle .rdCenter .rdContent
{
    font: 11px Tahoma,verdana,arial !important;
    font-family:Tahoma,verdana,arial !important;
}
  
  
.RadDock .rdCommands .rdCollapse{background:url('../images/changeclienttup.gif') transparent !important;}
.RadDock .rdCommands .rdExpand{background:url('../images/changeclientt.gif') transparent !important;}
.RadDock .rdCommands .rdClose{background:url('../images/close.gif') transparent !important;}
  
div.RadDock .rdTop .rdCenter {
    background-position: 0px 0px !important;
    background-repeat: repeat-x !important;
    width: 100% !important;
}
  
div.RadDock .rdTop .rdLeft
{
    background-position: 0px 0px !important;
}
  
  
div.RadDock .rdTop .rdRight 
{
    background-position: -6px 0px !important;
}
  
  
div.RadDock .rdMiddle .rdRight 
{
    background-position: 4px 0px !important;
    background-color: #FFFFFF !important;
}
  
  
.RadDock .rdBottom .rdLeft,
.RadDock .rdBottom .rdCenter,
.RadDock .rdBottom .rdRight
{
    background-position: 0 -101px !important;
    height: 1px !important;
}
  
  
.RadDock .rdTop .rdLeft, 
.RadDock .rdTop .rdRight,
.RadDock .rdMiddle .rdLeft, 
.RadDock .rdMiddle .rdRight,
.RadDock .rdBottom .rdLeft, 
.RadDock .rdBottom .rdRight
{
    width: 5px !important;
}
  
.RadDock .rdTop
{
    height: 27px !important;
}
  
.RadDock .rdTable .rdTop
{
    line-height:25px !important;    
}
  
.RadDockZone
{
    position:relative !important;
}
  
.RadDockZone#RadDockZoneV1
{
    padding: 0px 0px 0px 0px !important;
    margin: 10px 0px 0px 10px !important;
}
  
.RadDockZone#RadDockZoneV2
{
    padding: 0px 0px 0px 0px !important;
    margin: 10px 0px 0px 10px !important;
}
  
.RadDockZone#RadDockZoneV3
{
    padding: 0px 0px 0px 0px !important;
    margin: 10px 10px 0px 10px !important;
}
  
  
/* END RadDock styles */
Pero
Telerik team
 answered on 23 Dec 2010
6 answers
204 views
I am trying to create a new node and add it to the tree using a web service. I have the client correctly calling the web service and I am creating a RadTreeNodeData and returning it from the server. However, I am not sure how to de-serialize the RadTreeNodeData on the client side so I can put it in the tree.

Any help would be appreciated.
Simon
Telerik team
 answered on 23 Dec 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?