Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
145 views
Hi dears,

I can't use "text-align:center" in ".rgNoRecords"

When I write the following code in my css file, just "color:Blue" acts !
.rgNoRecords 
{ 
    color:Blue; 
    text-align:center; 
} 
 

When I use "NoRecordsTemplate" in my Grid, it work as well as !
<NoRecordsTemplate> 
    <div style="text-align:center; color:Blue">No records to preview</div> 
</NoRecordsTemplate> 
 

But I don't want use "NoRecordsTemplate".
Please someone help me.

Best Regards,
M.Hajinezhad



Mohammad Hajinezhad
Top achievements
Rank 1
 answered on 03 Jun 2010
5 answers
130 views

Is there something unique with the RadListView that prevents a filter via a where statement in a SqlDataSource from working properperly?

I am using the text property of a text box within a where statement to filter the SqlDataSource.

If I replace the RadListView with a RadGrid or even a standard ASP.NET ListView, it works fine.

Thanks,
David

Rosen
Telerik team
 answered on 03 Jun 2010
2 answers
153 views
Hi


I use standard dialogs in scheduler to create new appointments. It works fine, these dialogs are pretty good, but I wolud like to add some additional fields to the dialogs.

Tell me please, is there an opportunity to add custom drop-down list to create appointment dialogs (to inherit and override?), or should I develop my own dialogs (  :(    ) ?  Can I get access to scheduler's dialogs?


Thanks
John John
Top achievements
Rank 1
 answered on 03 Jun 2010
3 answers
150 views
I have RadViewList bound to an ObjectDataSource. If the data source returns no records, filter expressions fail to apply (instead of showing "No data" (EmptyDataTemplate)).

Is this a bug? If not, this is annoying because when I call Rebind() I have to clear all filters, rebind, check (items.count > 0), and the reapply filters.

Thanks!
Rosen
Telerik team
 answered on 03 Jun 2010
1 answer
81 views
Hi,

In a RadGrid I am using RadComboBox for filtering data. Filtering works but the selected value doesn’t persist even though I have set EnableViewState="true" of the RadComboBox. I may be able to make the selection persist by extra coding but is there any simple way (some property) to make the selection persist?

Thanks,
Parimal Modi

Yavor
Telerik team
 answered on 03 Jun 2010
3 answers
103 views
Hi All,

I am using the Telerik RadEditor for the first time. I have to build a control that will help me edit HTML Formatted Files. The RadEditor Control serves the purpose. But I am getting a peculiar error.

The Toolbar of the RadEditor crashes or goes into hiding when Mouse Hovers over the HyperLink Button or I click on the HyperLink Button.

Sometimes IE Script Debugger Throws the an Unspecified Error with number 3484 and the following Script. When I use the Script Debugger it breaks at the following Function. 

GetToolBarPlugin('dbe114f64f5fa38cc4211dc1a04f').Content.d2561485cd324b3d8c1ab4a1bcf7da2f.SetToolsStates(

        editor.getToolState("Bold"),

        editor.getToolState("Italic"),

        editor.getToolState("Underline"),

        editor.getToolState("JustifyLeft"),

        editor.getToolState("JustifyRight"),

        editor.getToolState("JustifyCenter"),

        editor.getToolState("JustifyFull"),

        editor.getToolState("InsertOrderedList"),

        editor.getToolState("InsertUnorderedList"),

        fontNameValue,

        editor.getToolState("FontName"),

        fontSizeValue,

        editor.getToolState("FontSize"),

        editor.getToolState("Superscript"),

        editor.getToolState("Subscript"),

        editor.getToolState("Undo"),

        editor.getToolState("Redo"),

        editor.getToolState("StrikeThrough"),

        linkHref,

        linkTitle,

        linkTarget,

        imgSrc,    

        imgAlt,    

        imgBorder

);



I am not sure but the the Toolbar hiding is a problem.

Amit Patel.


Valentin.Stoychev
Telerik team
 answered on 03 Jun 2010
1 answer
115 views
hi,
i have an error on js  , when  i open a rad window ,
its workin fine but an error exists on browser.

here is a code from debbuger  :

if(b){this.set_status(this._navigateUrl);
}

when "this._navigateUrl" - > "../controls/PhoneSelectorTelerikDialog.aspx?serviceid=1626&manu=61"


i can't find a source of an error.

all my logical flow work fine and the result is good .
can you help me with this problemm ?

thanks , Dima.


Princy
Top achievements
Rank 2
 answered on 03 Jun 2010
1 answer
107 views
HI

I have an issue... Could someone help me with it

I have a grid that has a footer template which shows the sum of price. I have also set the paging property of the grid to true and page size is set to 5. So the total of the first 5 rows are shown in the footer but when i go to the next page the sum of price shown are the sum of the rows in the 2nd page and not the total price (INcluding the first and the second page). Can something be done here to get the total of the 2 pages.I want to take the total of all the pages in the grid and show it in a textbox.

Could somebody give me a solution

Regards
Sharon
Pavlina
Telerik team
 answered on 03 Jun 2010
1 answer
114 views
Hi,

I have a user control that builds a grid programmatic-ally where column definitions are dynamically created and can change during a postback. I am trying to implement frozen columns so that only 5 or so are displayed, and the rest should be available with the scrolling feature. The problem is that when my grid is rendered, only the first 5 columns are displayed and no scrollbar. If I re-size the other columns, then the missing ones start appearing.

I have set the MasterTableView.Width = to the total width of all columns.

My columns are defined in an xml document as such:

<columns>
  <column
    HeaderText="Site"
    FooterText="Total"
    DataTextField="Site"
    DataValueField="Site"
    DataFormatString=""
    Sorting="true"
    Filtering="true"
    Aggregate="None"
    Hyperlinks="false"
    Hidden="false"
    CanHide="true"
    Width="20%"
    />
  <column
    HeaderText="PCount"
    FooterText=""
    DataTextField="PCount"
    DataValueField="PCount"
    DataFormatString=""
    Sorting="true"
    Filtering="true"
    Aggregate="Sum"
    Hyperlinks="false"
    Hidden="false"
    CanHide="true"
    Width="20%"
    />
  <column
    HeaderText="Number of Forms"
    FooterText=""
    DataTextField="FormCount"
    DataValueField="FormCount"
    DataFormatString=""
    Sorting="true"
    Filtering="true"
    Aggregate="Sum"
    Hyperlinks="false"
    Hidden="false"
    CanHide="true"
    Width="20%"
    />
  <column
    HeaderText="No Data"
    FooterText=""
    DataTextField="NoData"
    DataValueField="NoData"
    DataFormatString=""
    Sorting="true"
    Filtering="true"
    Aggregate="Sum"
    Hyperlinks="false"
    Hidden="false"
    CanHide="true"
    Width="20%"
    />
  <column
    HeaderText="Incomplete"
    FooterText=""
    DataTextField="Incomplete"
    DataValueField="Incomplete"
    DataFormatString=""
    Sorting="true"
    Filtering="true"
    Aggregate="Sum"
    Hyperlinks="false"
    Hidden="false"
    CanHide="true"
    Width="20%"
    />
  <column
    HeaderText="Complete"
    FooterText=""
    DataTextField="Complete"
    DataValueField="Complete"
    DataFormatString=""
    Sorting="true"
    Filtering="true"
    Aggregate="Sum"
    Hyperlinks="false"
    Hidden="false"
    CanHide="true"
    Width="20%"
    />
  <column
    HeaderText="Test"
    FooterText=""
    DataTextField="Test"
    DataValueField="Test"
    DataFormatString=""
    Sorting="true"
    Filtering="true"
    Aggregate="None"
    Hyperlinks="true"
    Hidden="false"
    CanHide="true"
    Width="10%"
    />
  <column
    HeaderText="Column1"
    FooterText=""
    DataTextField="Column1"
    DataValueField="Column1"
    DataFormatString=""
    Sorting="true"
    Filtering="true"
    Aggregate="None"
    Hyperlinks="false"
    Hidden="false"
    CanHide="true"
    Width="10%"/>
  <column
    HeaderText="Column2"
    FooterText=""
    DataTextField="Column2"
    DataValueField="Column2"
    DataFormatString=""
    Sorting="true"
    Filtering="true"
    Aggregate="None"
    Hyperlinks="false"
    Hidden="false"
    CanHide="true"
    Width="10%"
    />
  <column
  HeaderText="Column3"
  FooterText=""
  DataTextField="Column3"
  DataValueField="Column3"
  DataFormatString=""
  Sorting="true"
  Filtering="true"
  Aggregate="None"
  Hyperlinks="false"
  Hidden="false"
  CanHide="true"
  Width="10%"
  />
  <column
    HeaderText="Column4"
    FooterText=""
    DataTextField="Column4"
    DataValueField="Column4"
    DataFormatString=""
    Sorting="true"
    Filtering="true"
    Aggregate="None"
    Hyperlinks="false"
    Hidden="false"
    CanHide="true"
    Width="10%"
    />
</columns>

My grid is defined programmatically as such:


private void DefineGridStructure() 
        { 
            // general 
            this.grid = new RadGrid(); 
            grid.ID = "Grid1"; 
            grid.DataMember = DataMember; 
            grid.MasterTableView.AutoGenerateColumns = false; 
            if (!MasterKeyField.Equals(String.Empty)) 
                grid.MasterTableView.DataKeyNames = new string[] { MasterKeyField };             
 
            // formatting 
            grid.Width = Unit.Percentage(100); 
            grid.MasterTableView.Width = Unit.Percentage(170); 
            grid.Skin = "Outlook";                     
            grid.MasterTableView.TableLayout = GridTableLayout.Fixed;    
             
            // column resizing 
            grid.ClientSettings.Resizing.AllowColumnResize = AllowColumnResizing; 
 
            // scrolling 
            grid.ClientSettings.Scrolling.AllowScroll = AllowScroll; 
            grid.ClientSettings.Scrolling.UseStaticHeaders = UseStaticHeaders; 
            grid.ClientSettings.ClientEvents.OnGridCreated = "GridCreated"; 
            grid.ClientSettings.Scrolling.FrozenColumnsCount = 5;             
 
            // sorting 
            grid.MasterTableView.AllowMultiColumnSorting = AllowMultiColumnSorting; 
            grid.AllowSorting = AllowSorting; 
 
            // header context menu             
            grid.MasterTableView.EnableHeaderContextMenu = AllowHeaderContextMenu;             
 
            // viewstate 
            grid.EnableViewState = true; 
            grid.MasterTableView.EnableColumnsViewState = false; 
 
            // paging 
            grid.AllowPaging = AllowPaging; 
            grid.PageSize = 20; 
            grid.MasterTableView.PagerStyle.AlwaysVisible = AllowPaging; 
            grid.MasterTableView.PagerStyle.Position = GridPagerPosition.Bottom;             
            grid.MasterTableView.PagerStyle.Mode = GridPagerMode.NextPrevNumericAndAdvanced;             
 
            // filtering 
            grid.MasterTableView.AllowFilteringByColumn = true; 
            grid.FilterMenu.ExpandAnimation.Type = AnimationType.OutQuad; 
            grid.FilterMenu.ExpandAnimation.Duration = 2; 
 
            // hierarchy load mode 
            grid.MasterTableView.HierarchyLoadMode = GridChildLoadMode.ServerOnDemand; 
 
            // export settings             
            grid.MasterTableView.CommandItemDisplay = GridCommandItemDisplay.None;                    
            grid.ExportSettings.ExportOnlyData = true; 
            grid.ExportSettings.Excel.Format = GridExcelExportFormat.ExcelML; 
            grid.ExportSettings.IgnorePaging = true; 
            grid.ExportSettings.OpenInNewWindow = true;             
        } 

Please help  with this issue.

Thanks,
Rick

Pavlina
Telerik team
 answered on 03 Jun 2010
1 answer
104 views
Hi, I am trying to open an inline window such as the open / edit inline window.

What code do I have to place in the client side JavaScript to open an inline window. (I have already created user control form)

I will also need to Bind some of the appointments attributes, or pass them as a query string.

Thanks.  
T. Tsonev
Telerik team
 answered on 03 Jun 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?