
Hello,
I create RadTabStrip programatically and I can't make scroll buttons visible. Am I missing something?
here is my c#
| protected void Page_Load(object sender, EventArgs e) |
| { |
| RadTabStrip strip = new RadTabStrip(); |
| strip.ScrollChildren = true; |
| strip.ScrollButtonsPosition = TabStripScrollButtonsPosition.Left; |
| strip.Width = 200; |
| for (int i = 0; i < 15; i++) |
| { |
| RadTab tabPanel = new RadTab(); |
| tabPanel.Text = String.Format("{0}", "Test"); |
| strip.Tabs.Add(tabPanel); |
| } |
| this.Controls.Add(strip); |
| } |
| <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="TabStripTest._Default" %> |
| <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml" > |
| <head runat="server"> |
| <title></title> |
| </head> |
| <body> |
| <form id="form1" runat="server"> |
| <div> |
| <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> |
| </telerik:RadScriptManager> |
| </div> |
| </form> |
| </body> |
| </html> |
<
CommandItemTemplate> <a href="#" onclick="return ShowInsertForm();">Add New Record</a>
</CommandItemTemplate>
ShowInsertForm() is a javascript function where I am opening a displaying some messages using radwindow.
My requirement is :
I wanted to get all values of 'STATUS' column from this Grid . column name is "Status".
This coulmn contains values 'O' or 'C'.
So I have to check all values of this colmn ,If they all are in 'C' status or in 'O' then on click of Add record hyperlink ShowInsertForm() JS function should fired where I have to show diffenet error messages for both status.
So Question is - How to get all values from a grid column into a variables or array ?
and how to check whether value is 'C' or 'O' ?
is it possible to do all these into JAVASCRIPT and how ? Please help me regarding this as soon as possible.
Thanks in Advance.
REgards,
Priyanka
.RadUpload_MySkin
.ruButton,
.RadUploadProgressArea_MySkin
.ruButton
{
background-image: url('Upload/ruSprite.png');
color: orange;
border:solid 1px green;
width:200px;
}
Also as the background image is a "sprite" image will that be an issue?
All help would be much appreciated.
Thanks

| Protected Sub RadAjaxManager1_AjaxRequest(ByVal sender As Object, ByVal e As AjaxRequestEventArgs) Handles RadAjaxManager1.AjaxRequest |
| grid_pending_credits.MasterTableView.SortExpressions.Clear() |
| grid_pending_credits.MasterTableView.GroupByExpressions.Clear() |
| grid_pending_credits.Rebind() |
| End Sub |
| function onKeyPressing(sender, eventArgs) |
| { |
| logEvent("Pressed key code: "+ eventArgs.get_domEvent().keyCode); |
| } |