Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
132 views
I am using datepicker inside telerik window. The problem is when i close the window after opening the datepicker, the opened portion of datepicker still exists and window gets closed. Plz help.
Princy
Top achievements
Rank 2
 answered on 10 Oct 2011
2 answers
135 views
Hi,
I'm using rachart of bar type inside the "Radgrid" in my application.
I'm having 3 serieses in chart.
I want to show the tooltip on mouse over for bars.
I tried as follows
I was tried to handle the code in chart itemdatabound event but this event itself notfiring.

 

 

 

 

here is my aspx page
<telerik:RadGrid ID="dispatcherGrd" runat="server" CssClass="gridView1" GridLines="None"
                                           AutoGenerateColumns="false" OnItemDataBound="dispatcherGrd_ItemDataBound" ShowHeader="false"
                                           Width="99%" Height="102px" BorderColor="White" BorderWidth="0" OnPreRender="dispatcherGrd_PreRender"
                                           OnItemCommand="dispatcherGrd_ItemCommand">
                                           <ClientSettings>
                                               <Scrolling AllowScroll="true" UseStaticHeaders="true" SaveScrollPosition="false" />
                                           </ClientSettings>
                                           <AlternatingItemStyle BackColor="White" />
                                           <HeaderStyle HorizontalAlign="Left" />
                                           <ItemStyle Font-Names="Arial" Font-Size="12px" ForeColor="#000000"/>
                                           <MasterTableView>
                                               <Columns>
                                                   <telerik:GridBoundColumn DataField="DispatcherName" HeaderStyle-Width="150px" HeaderText="Dispatcher Name">
                                                   </telerik:GridBoundColumn>
                                                   <telerik:GridBoundColumn DataField="RegularCount" HeaderStyle-Width="90px" HeaderText="Regular">
                                                   </telerik:GridBoundColumn>
                                                   <telerik:GridBoundColumn DataField="EmergencyCount" HeaderStyle-Width="90px" HeaderText="Emergency">
                                                   </telerik:GridBoundColumn>
                                                   <telerik:GridBoundColumn DataField="DirectCount" HeaderStyle-Width="90px" HeaderText="Directed">
                                                   </telerik:GridBoundColumn>
                                                   <telerik:GridBoundColumn DataField="TotalCount" HeaderStyle-Width="90px" HeaderText="Total">
                                                   </telerik:GridBoundColumn>
                                                   <telerik:GridTemplateColumn DataField="" UniqueName="chartcolumn">
                                                       <ItemTemplate>
                                                       <telerik:RadChart ID="dispatcherChrt"  runat="server" Width="230px" Style="margin-top: 0px;"                                                      SeriesOrientation="Horizontal" 
                                                              ChartTitle-Visible="false" OnitemDataBound="dispatcherChrt_ItemDataBound" SkinsOverrideStyles="true" CreateImageMap="false" >
                                                               <Series>
                                                                   <telerik:ChartSeries Type="StackedBar">
                                                                       <Appearance BarWidthPercent="85" LabelAppearance-Visible="false">
                                                                           <FillStyle FillType="Solid" MainColor="ForestGreen">
                                                                           </FillStyle>
                                                                       </Appearance>
                                                                   </telerik:ChartSeries>
                                                                   <telerik:ChartSeries Type="StackedBar">
                                                                       <Appearance BarWidthPercent="85" LabelAppearance-Visible="false">
                                                                           <FillStyle MainColor="#f2180d" FillType="Solid">
                                                                           </FillStyle>
                                                                       </Appearance>
                                                                   </telerik:ChartSeries>
                                                               </Series>
                                                               <PlotArea Appearance-Dimensions-Margins="0,0,0,0" Appearance-Border-Color="White"
                                                                   XAxis-Appearance-MajorGridLines-Visible="false" YAxis-Appearance-MajorGridLines-Visible="false"
                                                                   Appearance-FillStyle-MainColor="White" Appearance-FillStyle-FillType="Solid"
                                                                   Appearance-Border-Width="2" />
                                                               <Legend Visible="false"></Legend>
                                                           </telerik:RadChart>
                                                       </ItemTemplate>
                                                       </telerik:GridTemplateColumn>
                                                       </Columns></MasterTableView>
                                                       </telerik:RadGrid>

 

protected void dispatcherChrt_ItemDataBound(object sender, ChartItemDataBoundEventArgs e)
   {
       e.ChartSeries[0].ActiveRegion.Tooltip = "state";
       e.ChartSeries[1].ActiveRegion.Tooltip = "Vox";
   }


but I'm not able to see any result I added tooltipmanager too.
Please help me How cloud I achieve this.

Ram
Top achievements
Rank 1
 answered on 10 Oct 2011
1 answer
251 views
Hi,
I am try to change the height of a radcombobox with separate file css, the tag height change the list of this component but i need to change a component height, How can i do it?

In this way does not work:
 
div.RadComboBox_Transparent mesa td.rcbInputCell
 { 
     height: 50px; 
     line-height: 50px;
 }


Shinu
Top achievements
Rank 2
 answered on 10 Oct 2011
5 answers
241 views
Hello Sir,


I had used in radwindow in more pages.Now i want to change the left side default icon in all the pages.

How i will change the default left icon to my new icon.I want to need any script so i will apply in one user control or my main page so it will be effect to all other my pages, i don't want to change that icon path in all the pages.

So is there any script or css for it will effect to alll the pages?


Please help me.

Thanks & Regards
Jignesh Patel
Princy
Top achievements
Rank 2
 answered on 10 Oct 2011
1 answer
99 views
HI!

I am using radwindow in my page. i want to set blue color for my radwindow . how can i do this?(not vista skin or webblue)
thanks in advance.

regards,
geetha.
Princy
Top achievements
Rank 2
 answered on 10 Oct 2011
1 answer
138 views
Hi Friends,
I have a hyrarchichal radgrid with two parent detailtable and the last detailtable have 12 GridTableView, I bind my GridTableView on DetailTableDatabind event of radgrid on certain conditions after binding my GridTableView with datasource, Now i don't want to show a GridTableView which has no DataSource means does not have any records.
How can i achieve this, please let me know ASAP.
please find attached JPG image of grid.

Regards,
Manoj Gupta
Princy
Top achievements
Rank 2
 answered on 10 Oct 2011
2 answers
136 views
Dear Telerik Team,


I  added and modified our business logic in 'webmail' sample application source.

Now,I customized new skin with Visual Style Builder.

In ' webmail' sample application ,it uses skin.dll and how can I add my new skin to my current application.

Thanks & regards,
Aewin.

Aewin
Top achievements
Rank 1
 answered on 10 Oct 2011
1 answer
106 views
I have a radlistview that is binding to a object datasource, I cannot find out how to access that Object when the event on item created it fired off. Can anyone help. be at this for a few hours.
Iana Tsolova
Telerik team
 answered on 10 Oct 2011
1 answer
192 views
I have a screen with a radgrid that is filled using the NeedDataSource Event
protected void RadGrid1_NeedDataSource(object source, GridNeedDataSourceEventArgs e)
       {
           int count = 0;
           if (RadGrid1.MasterTableView.SortExpressions.Count > 0)
               RadGrid1.DataSource = GetEntities(RadGrid1.PageSize, RadGrid1.MasterTableView.CurrentPageIndex * RadGrid1.PageSize, RadGrid1.MasterTableView.FilterExpression,
                  RadGrid1.MasterTableView.SortExpressions[0].FieldName + " " + RadGrid1.MasterTableView.SortExpressions[0].SortOrderAsString(), out count);
           else
               RadGrid1.DataSource = GetEntities(RadGrid1.PageSize, RadGrid1.MasterTableView.CurrentPageIndex * RadGrid1.PageSize, RadGrid1.MasterTableView.FilterExpression, "", out count);
           RadGrid1.MasterTableView.VirtualItemCount = count;
       }
       private DataTable GetEntities(int maximumRows, int startRowIndex, string filterExpression, string sortExpression, out int count)
       {
           ClientDataContext db = new ClientDataContext();
           var query = from g in db.GovtEntityLogs
                       select new
                       {
                           g.GovtEntityLogID,
                           g.ClientID,
                           g.Client.ClientName,
                           g.EntityName,
                           g.StartDate,
                           g.EndDate,
                           g.InvestorTypeID,
                           g.InvestorType.InvestorType1,
                       };
           //Set filter expresion
           if (!String.IsNullOrEmpty(filterExpression))
           {
               query = query.Where(String.Format(@"{0}", filterExpression));
           }
           if (!String.IsNullOrEmpty(sortExpression))
           {
               query = query.OrderBy(sortExpression);
           }
           else
           {
               query = query.OrderBy("ClientName");
           }
           //Set the total row count
           count = query.Count();
           var pagedData = query.Skip(startRowIndex).Take(maximumRows);
           DataTable dt = new DataTable();
           dt = pagedData.ToADOTable();
           return dt;
       }

This works fine as long as I have the page setting
<%@ Page Title="" EnableViewState="false"

but when I Filter from multilpe columns it only sorts the last column selected.  When I change the EnableViewState to TRUE, I get an error in the Filter in Dynamic.cs
"No applicable indexer exists in type '<>f__AnonymousType50`12'"
When I look at teh filter expression it shows

"(Convert.ToString(it[\"ClientName\"]).ToUpper() = \"Capital Investment Advisory Services, LLC (CIAS)\".ToUpper())"

Am I missing something?


Iana Tsolova
Telerik team
 answered on 10 Oct 2011
1 answer
176 views
I have a RadDatePicker with the Calendar settings like so:

<telerik:RadDatePicker ID="RadDatePicker1" runat="server" ShowPopupOnFocus="true">
        <Calendar MultiViewColumns="2">
        </Calendar>
    </telerik:RadDatePicker>

As you can see I'm showing 2 months in the Calendar popup. I am able to select a date from the two months shown, but that's all I can do. The navigation doesn't work.

So my questions is, is this a supported scenario for the RadDatePicker or is it just limited to one month in the calendar popup?
Iana Tsolova
Telerik team
 answered on 10 Oct 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?