Click here to Skip to main content
16,016,777 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to change the classname??? Pin
Christian Graus10-Jun-08 5:03
protectorChristian Graus10-Jun-08 5:03 
GeneralRe: How to change the classname??? Pin
Pete O'Hanlon10-Jun-08 4:25
mvePete O'Hanlon10-Jun-08 4:25 
GeneralRe: How to change the classname??? Pin
Christian Graus10-Jun-08 5:01
protectorChristian Graus10-Jun-08 5:01 
AnswerRe: How to change the classname??? Pin
AndrewVos10-Jun-08 6:48
AndrewVos10-Jun-08 6:48 
GeneralRe: How to change the classname??? Pin
AndrewVos10-Jun-08 6:54
AndrewVos10-Jun-08 6:54 
GeneralRe: How to change the classname??? Pin
mojo_geo11-Jun-08 4:06
mojo_geo11-Jun-08 4:06 
GeneralRe: How to change the classname??? Pin
AndrewVos11-Jun-08 5:25
AndrewVos11-Jun-08 5:25 
QuestionAutoComeple ComboBox in InfragisticsGrid [ultraGrid1] Control!!! [modified] Pin
Sr...Frank10-Jun-08 2:58
Sr...Frank10-Jun-08 2:58 
Confused | :confused: private void AutoComplete_DGV_EditingControlShowing(object sender,DataGridViewEditingControlShowingEventArgs e)
{

TextBox textBx = e.Control as TextBox;

if (textBx != null && /*
* Only if the column index of the current cell is

* "The one for which we need autocomplete functionality"

*/

((DataGridView)sender).CurrentCell.ColumnIndex == 1)
{

/*
* "BackGround COLORING" :

* Cleaning the existing EventHandlers

*/

textBx.TextChanged -=

new EventHandler(AutoComplete_OnSelectionSetBackColor);/*
* "BackGround COLORING" :

* Adding new event handler.

*/

textBx.TextChanged +=

new EventHandler(AutoComplete_OnSelectionSetBackColor);
//Populating the 'custom datasource' values.

textBx.AutoCompleteCustomSource.AddRange(new string[ {
"valuea","valueab","valueabc",

"x","xyz","xyz123",
"a12","a123","a123def",

"d","def","defg"});
//Setting to Suggest mode.

textBx.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest;
//Setting the source to the above created custom suggest datasource.

textBx.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource;
}

else if (textBx != null /*if the column index of the current cell NOT "The one for which we need autocomplete functionality"
* Resetting the edited control's Autocomplete flags

*/)
{

/* "BackGround COLORING" :
* Cleaning the existing EventHandlers

*/

textBx.TextChanged -=

new EventHandler(AutoComplete_OnSelectionSetBackColor);/* Note: The following code ensures that if the column which is being edited.
* is NOT "THE AUTOCOMPLETE ONE" then is undo the effects for the Autocomplete edit settings

*/

textBx.AutoCompleteCustomSource.Clear();

textBx.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.None;textBx.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.None;
}

}

Can we do same with InfragisticsGridControl[ultraGrid1]...

Please provide me code...

Thanks...


Confused | :confused:

modified on Tuesday, June 10, 2008 9:04 AM

AnswerRe: AutoComeple ComboBox in InfragisticsGrid [ultraGrid1] Control!!! Pin
Pete O'Hanlon10-Jun-08 3:21
mvePete O'Hanlon10-Jun-08 3:21 
GeneralRe: AutoComeple ComboBox in InfragisticsGrid [ultraGrid1] Control!!! Pin
Sr...Frank10-Jun-08 10:11
Sr...Frank10-Jun-08 10:11 
QuestionHow to Create Measuring Unit from Main Units by Formula ? Pin
hdv21210-Jun-08 2:33
hdv21210-Jun-08 2:33 
AnswerRe: How to Create Measuring Unit from Main Units by Formula ? Pin
Christian Graus10-Jun-08 3:46
protectorChristian Graus10-Jun-08 3:46 
GeneralRe: How to Create Measuring Unit from Main Units by Formula ? Pin
hdv21210-Jun-08 7:15
hdv21210-Jun-08 7:15 
QuestionCopying items between two listviews Pin
laziale10-Jun-08 1:54
laziale10-Jun-08 1:54 
AnswerRe: Copying items between two listviews Pin
half-life10-Jun-08 2:41
half-life10-Jun-08 2:41 
GeneralRe: Copying items between two listviews Pin
laziale10-Jun-08 2:53
laziale10-Jun-08 2:53 
GeneralRe: Copying items between two listviews Pin
Giorgi Dalakishvili10-Jun-08 3:00
mentorGiorgi Dalakishvili10-Jun-08 3:00 
GeneralRe: Copying items between two listviews Pin
laziale10-Jun-08 3:03
laziale10-Jun-08 3:03 
GeneralRe: Copying items between two listviews Pin
Giorgi Dalakishvili10-Jun-08 3:10
mentorGiorgi Dalakishvili10-Jun-08 3:10 
GeneralRe: Copying items between two listviews Pin
laziale10-Jun-08 3:11
laziale10-Jun-08 3:11 
GeneralRe: Copying items between two listviews Pin
Giorgi Dalakishvili10-Jun-08 3:17
mentorGiorgi Dalakishvili10-Jun-08 3:17 
GeneralRe: Copying items between two listviews Pin
half-life10-Jun-08 3:17
half-life10-Jun-08 3:17 
GeneralRe: Copying items between two listviews Pin
laziale10-Jun-08 3:28
laziale10-Jun-08 3:28 
GeneralRe: Copying items between two listviews Pin
half-life10-Jun-08 6:06
half-life10-Jun-08 6:06 
GeneralRe: Copying items between two listviews Pin
laziale10-Jun-08 6:34
laziale10-Jun-08 6:34 

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.