Click here to Skip to main content
15,899,754 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Problem solved... Pin
leeoze26-Jan-09 23:16
leeoze26-Jan-09 23:16 
Questioni want to add more than 1 columns with ColumnName=" " in the C#asp.net datagrid after data is bind to it. Pin
s_aslam9826-Jan-09 22:08
s_aslam9826-Jan-09 22:08 
AnswerRe: i want to add more than 1 columns with ColumnName=" " in the C#asp.net datagrid after data is bind to it. Pin
mr_muskurahat26-Jan-09 22:58
mr_muskurahat26-Jan-09 22:58 
GeneralRe: i want to add more than 1 columns with ColumnName=" " in the C#asp.net datagrid after data is bind to it. Pin
Santhosh N28-Jan-09 0:00
Santhosh N28-Jan-09 0:00 
QuestionTreeNode with cssClass? Pin
Deresen26-Jan-09 21:55
Deresen26-Jan-09 21:55 
QuestionCombo box Pin
Girish48126-Jan-09 20:37
Girish48126-Jan-09 20:37 
AnswerRe: Combo box Pin
Ashutosh Phoujdar27-Jan-09 1:20
Ashutosh Phoujdar27-Jan-09 1:20 
GeneralRe: Combo box Pin
Girish48127-Jan-09 18:02
Girish48127-Jan-09 18:02 
Thanks for your valuable answer.
Meanwhile I placed a new textbox i.e Textbox11 and code like following: (invrst is my ADODB.recordset name)

Private Sub TextBox11_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox11.TextChanged
Dim strField As String = "PLACENAME"
ComboBox4.Items.Clear()
If TextBox11.TextLength = 0 Then
ComboBox4.Items.Add("<blank>")
ComboBox4.DroppedDown = False
ComboBox4.MaxDropDownItems = 4
Me.Cursor = Cursors.Arrow
End If
If TextBox11.TextLength <> 0 Then
invrst.Filter = strField & " like '" & Trim(TextBox11.Text) & "%'"
invrst.MoveFirst()
Do While Not invrst.EOF
ComboBox4.Items.Add(invrst.Fields(0).Value)
invrst.MoveNext()
Loop
ComboBox4.DroppedDown = True
ComboBox4.MaxDropDownItems = 4
Me.Cursor = Cursors.Arrow 'It is mandatory because setting droppeddown=true case mouse pointer to hourglass
End If
Me.Cursor = Cursors.Arrow
End Sub

I am trying to achieve the feature like address bar of browser i.e. if there is reference of visited page then it comes to the top of list otherwise it will be appened in the cache list.
In the above code, problem is if there are more items in combobox is dropped down over other controls of the form and looks bad; even i have set MaxDropDownItems=4.While;
ComboBox4.AutoCompleteMode = AutoCompleteMode.SuggestAppend
ComboBox4.AutoCompleteSource = AutoCompleteSource.ListItems
is working fine but two problems:
1.I am not able to write the code for add a new place name in the table.
2.I click on combobox and then type few chars in the combobox then another list comes over main list area and it makes something confusing.

Please quote your valuable views.
Thansk & Regards
Girish
QuestionRequiredFieldValidator is not firing? Pin
meeram39526-Jan-09 20:05
meeram39526-Jan-09 20:05 
AnswerRe: RequiredFieldValidator is not firing? Pin
Sundar_R26-Jan-09 20:40
Sundar_R26-Jan-09 20:40 
GeneralRe: RequiredFieldValidator is not firing? Pin
meeram39526-Jan-09 21:55
meeram39526-Jan-09 21:55 
GeneralRe: RequiredFieldValidator is not firing? Pin
Spunky Coder26-Jan-09 22:29
Spunky Coder26-Jan-09 22:29 
AnswerRe: RequiredFieldValidator is not firing? Pin
josh41728-Jan-09 1:28
josh41728-Jan-09 1:28 
Questionhow to know when mouse is clicked on gridview's column header. Pin
s_aslam9826-Jan-09 18:16
s_aslam9826-Jan-09 18:16 
AnswerRe: how to know when mouse is clicked on gridview's column header. Pin
Sundar_R26-Jan-09 18:37
Sundar_R26-Jan-09 18:37 
Generali cant understand how to do it Pin
s_aslam9826-Jan-09 22:34
s_aslam9826-Jan-09 22:34 
GeneralRe: i cant understand how to do it Pin
mr_muskurahat26-Jan-09 22:47
mr_muskurahat26-Jan-09 22:47 
GeneralRe: i cant understand how to do it Pin
Sundar_R26-Jan-09 23:35
Sundar_R26-Jan-09 23:35 
GeneralRe: i cant understand how to do it Pin
s_aslam9826-Jan-09 23:47
s_aslam9826-Jan-09 23:47 
GeneralRe: i cant understand how to do it Pin
Santhosh N27-Jan-09 23:15
Santhosh N27-Jan-09 23:15 
QuestionFolder Pin
ellllllllie26-Jan-09 18:07
ellllllllie26-Jan-09 18:07 
Questionproblem in printing landscape page Pin
jay.net200526-Jan-09 17:47
jay.net200526-Jan-09 17:47 
Questionhow do we will send sql database to server through FTP Pin
somasekhara77726-Jan-09 8:14
somasekhara77726-Jan-09 8:14 
AnswerRe: how do we will send sql database to server through FTP Pin
Colin Angus Mackay26-Jan-09 11:16
Colin Angus Mackay26-Jan-09 11:16 
QuestionVideo conferencing Pin
sana1726-Jan-09 7:53
sana1726-Jan-09 7:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.