The pager control on the bottom of the grid shows with the first, prev on one line, pages on a second line, next, last on a third line, page size on a 4th line and item count/numb pages on the 5th line.
I have played with the wrap function, mode, etc of the pager and haven't had any significant changes, none good at least. I can change the text for he pager size and have it reflect so the changes are working. The grid is created in code and added to a placeholder control.
Below is the code above all the columns and the add to place holder, but it is the area where all the formatting is set.
Hopefully you can tell me what when wrong. The problem came up with I upgraded the website, so it had something to do with the changes. I am currently on 2009.3.1314.35
Thanks for your help
Randy Miller
gvReceipts.BorderStyle = BorderStyle.Solid
gvReceipts.BorderWidth = 1
gvReceipts.CellPadding = 3
'gvReceipts.Font.Size = 3
gvReceipts.ForeColor = Drawing.Color.Black
gvReceipts.GridLines = GridLines.Vertical
gvReceipts.AllowPaging = True
gvReceipts.AllowSorting = True
gvReceipts.AutoGenerateColumns = False
gvReceipts.Height = 415
gvReceipts.Width = 1350 ' Unit.Percentage(100)
gvReceipts
gvReceipts.FooterStyle.Width = gvReceipts.Width
gvReceipts.FooterStyle.Wrap = False
'gvReceipts.PagerStyle.Mode = GridPagerMode.Slider
gvReceipts.PagerStyle.Mode = GridPagerMode.NextPrevAndNumeric
'gvReceipts.PagerStyle.
gvReceipts.Skin = ""
gvReceipts.PagerStyle.Width = gvReceipts.Width
gvReceipts.MasterTableView.PagerStyle.Width = gvReceipts.Width
gvReceipts.PagerStyle.Wrap = False
gvReceipts.MasterTableView.PagerStyle.Wrap = gvReceipts.PagerStyle.Wrap
'gvReceipts.Skin = "Default"
gvReceipts.PageSize = 15
gvReceipts.GroupingEnabled = True
gvReceipts.ShowGroupPanel = True
gvReceipts.ClientSettings.AllowDragToGroup = True
'gvReceipts.HeaderStyle.BackColor = Drawing.ColorTranslator.FromHtml("#711000")
gvReceipts.HeaderStyle.Font.Bold = True
'gvReceipts.HeaderStyle.ForeColor = Drawing.ColorTranslator.FromHtml("#DDAA22")
'gvReceipts.HeaderStyle.BorderColor = Drawing.ColorTranslator.FromHtml("#711000")
gvReceipts.HeaderStyle.BorderStyle = BorderStyle.None
'gvReceipts.FooterStyle.BackColor = Drawing.ColorTranslator.FromHtml("#CCCCCC")
'gvReceipts.MasterTableView.DataMember = "Customers"
''gvReceipts.MasterTableView.PageSize = 15
gvReceipts.MasterTableView.AlternatingItemStyle.BackColor = Drawing.ColorTranslator.FromHtml("#6699FF")
gvReceipts.MasterTableView.AlternatingItemStyle.Wrap = False
RefreshData()
gvReceipts.MasterTableView.DataKeyNames = New String() {"rtn_pnref", "clientid"}
Dim colNewColumn As GridBoundColumn
Dim colNewButtonColumn As GridButtonColumn = New GridButtonColumn
colNewButtonColumn.ButtonType = GridButtonColumnType.ImageButton
colNewButtonColumn.HeaderText = "Select"
colNewButtonColumn.ImageUrl = "~/ClientServices/insurance/images/print.gif"
colNewButtonColumn.CommandName = "print"
colNewButtonColumn.AutoPostBackOnFilter = "True"
colNewButtonColumn.UniqueName = "colSelect"
colNewButtonColumn.ItemStyle.HorizontalAlign = HorizontalAlign.Center
gvReceipts.MasterTableView.Columns.Add(colNewButtonColumn)
