Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:776677
More Search Options
RSS Available
Matching Posts
Re: gridview in a user control problem
Hi, I see the same beahvior in both the cases(grid on the page or grid inside a WebUserControl). SelectedIndex always returns 0 for the first row and so on. Regards, Manish www.componentone.com
Posted to
Web Forms
(Forum)
by
manish.singhal
on 7/10/2008
Re: Datatable question
Hi, You can get the value and bind the dataable to the Gridview as follows. Dim dt As New DataTable Response.Write(dt.Rows(0)(0).ToString()) Me .gridview1.datasource = dt Me .gridview1.databind() Regards, Manish www.componentone.com
Posted to
Data Presentation Controls
(Forum)
by
manish.singhal
on 7/10/2008
Re: <asp:panel> renders as <table> in Firefox 3 and <DIV> in IE7
Hi, Its rendering as div control in both the browsers as. < div id = "Panel1" style = "height:50px;width:125px;" > Regards, Manish www.ComponentOne.com
Posted to
Web Forms
(Forum)
by
manish.singhal
on 7/10/2008
Re: calender and text box combination problem
Hi, You can try to change the visble property of the calendar control in the onfocus event at the client side. Protected Sub Page_Load( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Load Me .Calendar1.Visible = False Me .TextBox1.Attributes.Add( "onfocus" , "alert('hello');" ) End Sub Regards, Manish www.componentone.com
Posted to
Web Forms
(Forum)
by
manish.singhal
on 7/10/2008
Re: Triggering events in the child grid
Hi, You can attach the handler like below. Its for the Button click event inside another control. You can do it for Grid control inside the Main Grid Item created event. AddHandler btnAdd.Click, AddressOf AddNew_Click Regards, Manish www.componentone.com
Posted to
Data Presentation Controls
(Forum)
by
manish.singhal
on 7/10/2008
Re: grid view(edit item template portion)
Hi, Make sure you set the Layout to be static for the controls you are inserting in the EditTemplate of the Template column in the GridView. Regards, Manish www.ComponentOne.com
Posted to
Getting Started
(Forum)
by
manish.singhal
on 7/8/2008
Re: One pic on every row in Gridview
Hi, I think you can insert a different picture on the alternate rows by adding a Template column and then adding the Image control as given below. You can add the image based on some other column which contains some boolean value, which you can set its visible to false at run time. <asp:TemplateField> <ItemTemplate> <asp:Image runat="server" ID="myImg" ImageUrl='<%# GetImageUrl(Eval(col2) as string) %>' /> </ItemTemplate> </asp:TemplateField>
Posted to
Data Presentation Controls
(Forum)
by
manish.singhal
on 7/3/2008
Re: Getting data from a temp. gridview
Hi, You can get the values for a particular column when the button is clicked. Then you can insert this value into any table and then update it in the database. Protected Sub Button1_Click( ByVal sender As Object , ByVal e As System.EventArgs) Dim item As C1GridItem = CType ( CType (sender, Button).Parent.Parent, C1GridItem) Response.Write(item.Cells(0).Text) End Sub Hope this answers your query. Regards, Manish www.componentone.com
Posted to
Data Presentation Controls
(Forum)
by
manish.singhal
on 7/3/2008
Re: urgent, I can not run the .net system from the Microsoft Visual Studio 2005!!!
Hi, Some possible suggestions include disabling your antivirus / firewall and checking IE's proxy settings. It sounds like the internal web server either isn't starting up correctly or for some reason is being blocked. Regards, Manish www.ComponentOne.com
Posted to
Getting Started
(Forum)
by
manish.singhal
on 7/2/2008
Re: how to find current month?
Hi, You can try the following code. Dim s As String = Me .DropDownList1.SelectedValue.ToString() ' Dim d As New Date '= Convert.ToDateTime(s).ToShortDateString Dim format As IFormatProvider = New System.Globalization.CultureInfo( "en-US" , True ) Dim d As Date = Date .Parse(s).ToString( "MM/dd/yy" , format) If d.Month = Now().Month.ToString() Then Response.Write(Now().Month.ToString()) End If Regards, Manish www.ComponentOne.com
Posted to
Web Forms
(Forum)
by
manish.singhal
on 6/23/2008
Page 1 of 8 (73 items) 1
2
3
4
5
Next >
...
Last »
Silverlight:
A Silverlight HVP Update
Channel 9:
Channel 9 Live at PDC09: This Week on Channel 9 - PDC09 Daily Show Edition Day 1
Channel 9:
Maria Klawe: Scholar, Scientist and Microsoft Board Member
Channel 10:
Play the Bing Sherlock Holmes Game
Channel 9:
Channel 9 Live at PDC09: Loic Le Meur
Channel 10:
How to Delete Jump List Items
Channel 10:
Roll Back to Classic Network Indicator in Win7
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 2
Channel 9:
Ping 42: Is Microsoft cool? Photo DNA, Win7 tool, 10k MIX contest
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 1
Channel 9:
Francesco Logozzo - Static Checking with Code Contracts for .NET
Channel 9:
Channel 9 Live at PDC09: Doug McCuistion, NASA
TechNet Edge:
System Center Operations Manager 2007 R2 – Service Level Dashboard part 3: Configuration
Channel 9:
Reading Debate with Bill Buxton
Channel 10:
Reading Debate with Bill Buxton
WindowsClient:
Build WPF Data Controls for Outlook Addins Easily with VS2010
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 2
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 1
Channel 9:
Channel 9 Live at PDC09: Wei Zhu (Facebook)
WindowsClient:
WPF Manipulation Basics
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online