Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
K

Kais4U

@Kais4U
About
Posts
31
Topics
14
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • VSS 6.0 Integration with Visual Studio 2005
    K Kais4U

    Hi, We are using Visual Studio 2005 and Visual Source Safe 6.0. I have configured my visual studio 2005 source safe plug in for VSS 6.0. The problem am facing is am not getting the VSS options such as Check out/Check in etc in the visual studio 2005 project explorer. also it does not prompt the user to checkout the file before editing it. I have worked with VS 2003 and it used to integrate very well with it. No am sure if am missing out on any configuration settings or is it VS2005 does not support VSS6.0. Please let me know how to overcome this issue. Thanks in advance for any kind of help. Regards, Kais

    Visual Studio help visual-studio csharp tutorial workspace

  • Reading Excel document in ASP.NET
    K Kais4U

    Hi All, I'm trying to read an excel document via a WebForm without having to save the file to the server disk. I need to read the contents of the excel spread sheet and process it. Can anyone let me know how to read the excel document without saving it to the server machine? Also is it possible to Use the PostedFile.InputStream to populate an Excel object? If yes, please provide with a sample code. thanks in advance for any kind of help Regards Kais

    ASP.NET csharp asp-net sysadmin help tutorial

  • Capturing TAB event of a button Button
    K Kais4U

    Hi Martin, Lost focus can happen even when the user select someother control via mouse. I need to implement TAB navigation. I cannot do this using Lost Control event. Let me know if there is any other alternative. Regards, Kais

    C# question help

  • Capturing TAB event of a button Button
    K Kais4U

    Yes, I need to navigation on the screen thru TAB. Actually, Its MDI form and has two child windows displays side by side. On the first child window, when the focus is on the last control and the user hits TAB, the focus should go to the first control of the second child form. Thanks in advace for all your suggestion/help Regards, Kais

    C# question help

  • Capturing TAB event of a button Button
    K Kais4U

    Hi, Thank you for your quick response. As you mention, the lost focus (Leave event for the button) will get fired for both key board and mouse movements. I explicitly need to capture Tab event generated on the button so that I can set the focus to some other control on the form. The reason is, Am using MDI form and displays two child windows side by side. On the first child window, when the focus is on the last control and the user clicks on TAB, the focus should go to the first control of second child window. Hope things are clear and you might be in able to help me out. Thanks Regards Kais

    C# question help

  • Capturing TAB event of a button Button
    K Kais4U

    The keyup event does not get fired if you select the button and hit tab. The only event gets fired is the leave event.

    C# question help

  • Capturing TAB event of a button Button
    K Kais4U

    Thanks Navi, The link you provided holds good for JAVA but not for C#. Let me know if you can help me out in C#. Regards Kais

    C# question help

  • Capturing TAB event of a button Button
    K Kais4U

    Hi All, I have a button on my form. When the button is selected and TAB is hit, am not able to capture this event. How can I capture the tab event on a button? Its urgent, anykind of help is highly appreciated . Thanks in advance Regards Kais

    C# question help

  • TAB issue in MDI form
    K Kais4U

    Hi All, I am using MDI form, The first 20% of the form am displaying Treeview control and in the rest of the portion am displaying a mdiChild form. The mdiChild form has got few UI controls on which tab order is set. Now the issues is, when we hit on tab, it revolves within the child form. How can i make it to go to treeview control once the last control on the child form is focus? ie. on being on the last control and hit tab, the focus should go to the treeview. Any help is highly appreciated. Thanks in advance for any guidance and suggestion Regards Kais

    C# help question design json

  • Word Wrap in datagrid cell
    K Kais4U

    Hi, How do I get the text to wrap after the focus leaves a datagrid cell? When the cell is in focus, it wraps the text, when it looses the focus, it displays the data in a single line. How do i retain the word wrap when the focus is to some other cell in the datagrid. Thanks in advance for any suggestion or help Regards, Kais

    C# question help

  • Display UI controls in Datagrid cell (Its urget pls)
    K Kais4U

    Hi, I need to display different UI controls based on the row in the same column. for eg. DataGridCell(row1,col1) should have a combo box, DataGridCell(row2,col1) should have a Textbox, DataGridCell(row3,col1) should have a multiline Textbox, DataGridCell(row4,col1) should have a Date Picker I can placed the respective controls when ever user select the perticular cell. Now i need the controls to be visible all the time not only on selection. Can anyone help me out in resolving this problem? I have a customized class which inherits the DataGridTextBoxColumn. Regards, Kais

    C# help design question

  • Invoke Private method of inherited class
    K Kais4U

    Hi , Am using windows form datagrid. The datagrid class has a private method named get_DataGridRows. This method will hold the DataRow collection of the datagrid. Since am inheriting the Datagrid class am not able to access this method. If i use it directly am able to access it. Regards, Kais

    C# css help

  • Invoke Private method of inherited class
    K Kais4U

    Igor, I dont see any such property to reterive the get datagrid rows collection. Is there any alternate way to reterive that. Regards, Kais

    C# css help

  • Setting Row Height in Derived DataGrids
    K Kais4U

    Hi I have a class that inherits from DataGrid. I can set the rowheights in a DataGrid by tappig into the "get_Datagridrows" method. However, this does not work for classes that inherit from DataGrid. Anyone know how to do this on derived classes? I find it apalling that Microsoft provided a DataGrid that is so inflexible! Regards Kais

    C# tutorial question

  • Invoke Private method of inherited class
    K Kais4U

    Hi, I have created a custom grid class which inherits from the DataGrid class. Using reflection i want to invoke on of the private method of the base class. Am able to list all the public method, but not able to get the refernce to the private methods. Attached is the class am using. public class CustomDataGridTest : DataGrid { private DataTable PopulateTable() { DataTable dt = new DataTable(); dt.Columns.Add("Name"); dt.Rows.Add(new object[] {"John"}); dt.Rows.Add(new object[] {"Miller"}); dt.Rows.Add(new object[] {"Lara"}); dt.Rows.Add(new object[] {"Tommy"}); dt.Rows.Add(new object[] {"Robin"}); return dt; } public MethodInfo GetMethodInfo() { this.DataSource = PopulateTable(); **MethodInfo mi = base.GetType().GetMethod**("get_DataGridRows", BindingFlags.FlattenHierarchy | BindingFlags.IgnoreCase | BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Static); return mi; } } Can anyone tell me as why the GetType().GetMethod() not returning the methodinfo object. It always return null. Thanks in advance for any kind of help Regards, Kais

    C# css help

  • Unable to invoke protected method of DataGrid in Paint method
    K Kais4U

    hi Martin, In meanwhile is it possible for you to send me the complete sample code. I would be very greatful for you if i can get the sample code. Thanks for all your help Regards Kais

    C# csharp help data-structures

  • Unable to invoke protected method of DataGrid in Paint method
    K Kais4U

    Ok let me try out. I need to leave for the day now. Catch you tomorrow.. Thank you very much for your suggestion and time. :) Regards, Kais

    C# csharp help data-structures

  • Unable to invoke protected method of DataGrid in Paint method
    K Kais4U

    Martin, Thats ok. But get_DataGridRows method is not available for override. How will this work? Regards, Kais

    C# csharp help data-structures

  • Unable to invoke protected method of DataGrid in Paint method
    K Kais4U

    Hi Martin, Thanks for your prompt reply. I added the peice of your code in my customized datagrid class which inherits from DataGrid. Now it throws me the following errors The name '_OnPaint' does not exist in the class or namespace CustomControl.CustomGrid.CustomDataGrid' CustomControl.CustomGrid.CustomDataGrid.OnPaintDelegate' denotes a 'class' which is not valid in the given context This might be a stupid thing i am asking. The delegate needs to be wrapped with the method. Where do i need to assign the method for it? Thanks in advance Regards, Kais

    C# csharp help data-structures

  • Unable to invoke protected method of DataGrid in Paint method
    K Kais4U

    Hi Martin, Where do we need to define "InvokeRequired" variable? Also i have override the paint method which has 7 parameters. Is that an issue? Please guide me if am wrong. I want to make this work. Regards, Kais

    C# csharp help data-structures
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups