CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: sr_jay

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,005

    Re: Data transfer from pop to main window!!

    Refer to my post at

    http://www.codeguru.com/forum/showthread.php?t=470509

    warm regards,
  2. Replies
    18
    Views
    33,987

    Re: vs

    Yes. That is also simple enough. We need to use javascript again. I have changed WebSite80 so that it does what you want and attached it. Open it and find an application that allows only one check...
  3. Replies
    4
    Views
    957

    Re: GridView1 Index Value!!!

    That article seems to be quiet clear and works for me. Could you be more specific with your need? If you could post some of your code we can see specifically where you may be going wrong and help...
  4. Replies
    5
    Views
    1,021

    Re: GridView1 Control...

    Put it inside a panel and set the width and height properties of the panel and scroll bars to both. Here is some sample code



    <asp:Panel ID="mypdanel" runat="server" ScrollBars="Both"...
  5. Replies
    6
    Views
    2,623

    Re: Postback processed, but event not hit

    Maybe something else is happening in your code which might not be evident at the moment. I give below the code for the Default pages of a small Default application. You can open a sample web site in...
  6. Replies
    18
    Views
    33,987

    Re: vs

    Hi Tarun,

    That again is extremely simple. I have attached a sample application again. You can easily download it. The attached application is WebSite80.zip and if you unzip it you will fine a...
  7. Replies
    0
    Views
    617

    User Controls as Dll's.

    Hi,

    The other day I came across a very interesting question in one of the other forums where a person had inquired about converting all his user controls to dll's. I was wondering if it is...
  8. Replies
    18
    Views
    33,987

    Re: vs

    Hey Tarun,

    That makes life even simpler. I give below a sample program again. Once again open up a new default web site in VS 2005. It will have a web page in it called Default.aspx. I give below...
  9. Replies
    18
    Views
    33,987

    Re: vs

    Hi Tarunk,

    I think we are talking at cross purposes. I will state your requirement as I understand it and give you a sample application. If it is not correct let me know what exactly you need so...
  10. Replies
    4
    Views
    4,732

    Re: need help in opening a popup window

    If you are really keen to stick with asp.net server controls you could have an anchor inside your repeater and add the href attribute through code in the item data bound procedure. You will have to...
  11. Replies
    2
    Views
    1,867

    Re: confirm delete in gride view

    You can use javascript for confirmation. Just convert your delete button to a template fieldin the grid. Replace your data grid code with



    <asp:DataGrid id="DataGrid1"...
  12. Replies
    18
    Views
    33,987

    Re: vs

    Try this. You can easily replace a web server control check box with a html input checkbox. Your html code would be.



    <asp:Label ID="Label1" runat="server"></asp:Label>
    ...
  13. Replies
    18
    Views
    33,987

    Re: vs

    Do you mind doing that through code? Then it is easy enough to set the value of the text property of asp:checkbox inside the repeater. Suppose your html code is something like



    ...
  14. Re: JavaScript MessageBox With "Yes" and "No" Buttons!!!!

    I am not clear why you need javascript here. Inside the button click procedure for the save button, you can always check if records exist in the database based on on some input field. First check...
  15. Replies
    2
    Views
    1,360

    Re: [2005]Update Connection String

    Hi,

    The message box appears only if you try to execute the code from Visual Studio. It will work fine and the message box will not appear at runtime. You will have to add the web.config file...
  16. Replies
    7
    Views
    1,584

    Re: How to Loop through this Arraylist

    Hi,

    If I understand you correctly if the cell does not contain a value that is equal to txt then you want to make it red in color and if it does contain a value equal to txt then you want to make...
  17. Replies
    2
    Views
    16,827

    Re: DataTable.Select() Method problem..

    If you have the exact country name in the variable country then you could try.


    DataRow[] countryDataRows = destinationsDataSet.Tables[countryDataSetTableName].Select("country_desc = '" + country...
  18. Replies
    7
    Views
    1,584

    Re: How to Loop through this Arraylist

    Hi,

    I am giving the application below.

    I have simplified the code as much as I can and put in proper comment entries. The code is also slightly changed so that the principle by which it works...
  19. Replies
    7
    Views
    1,584

    Re: How to Loop through this Arraylist

    Here is how you do it. I am giving a sample application code which creates a data table and binds it to a gridview. The data table contains 3 columns and 5 rows with the first column having the...
  20. Replies
    4
    Views
    6,482

    Re: Auto Count Textbox character

    Hi,

    You could try this sample. I am giving code for the default page for a sample application. Just put this code on the Default.aspx and Default.aspx.cs of a new web site in VS 2005. If you run...
  21. Replies
    1
    Views
    3,870

    Re: Disable a Cell like a Button

    Hi,

    Yes you can disable a cell. But the disabling makes a difference only if you have some server control like a text box in the cells of the grid view. I can demonstrate this with a couple of...
  22. Re: Custom Classes - HowTo access property of parent instance from child instance

    Hi,

    What you are asking for is possible if child classes inherit from parent classes. The way you have written the classes the child classes are elements of parent classes. They are not inheriting...
  23. Replies
    3
    Views
    1,084

    Re: JS Dynamic Form Elements + Posting to ASP

    I agree. You will have to create it using document.createElement() in javascript and add it to the form. Only thing I would like to add to this is if you want to find the post back value of the...
  24. Re: Weird problem with posting user control and listboxes

    Hi,

    I have faced that problem before. In my case I had 2 list boxes and one list box was full of list items the first time the page is loaded in the browser. Then I had a couple of buttons with...
  25. Replies
    2
    Views
    1,466

    Re: External javascript

    Hi,

    If you want to use external javascript you will have to link it to the form with something like

    <script language="JavaScript" src="full or relative path to external javascript file"...
Results 1 to 25 of 41
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured