Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. sunil128

    EditItem Template Not Firing – Urgent!

    Platform - VS2005 C# ASP Hi all I am having a very frustrating time with this problem and cannot for the life of me work out why it isn’t working. I have a datalist with an Itemtemplate and an EditTemplate and all I am trying to trigger the EditItemTemplate to appear when an Edit button is...
  2. sunil128

    Newbie Query - How do you access a textbox inside a Datalist/Repeater?

    We have found a solution/workaround to this problem that doesnt involve trying to access the textbox using FindControl. Thanks everyone for their help & suggestions anyway.
  3. sunil128

    Newbie Query - How do you access a textbox inside a Datalist/Repeater?

    Right to appease everyone I have gone away & tried to get my head round the concepts of this! So I do now a have slightly a better grasp of what’s going on, but I still cant get the solution, so I will try to give as much info as possible. I have a webform (callLogEdit.aspx) from which I am...
  4. sunil128

    Newbie Query - How do you access a textbox inside a Datalist/Repeater?

    ...just to add, the datalist in question is used to both display the data and also for user to input data directly & then save.
  5. sunil128

    Newbie Query - How do you access a textbox inside a Datalist/Repeater?

    Apologies for my lack of understanding here, but can someone explain all the concepts of this me to in laymans terms please (proper novice me!) Please note that all im trying to do i pass a text string from one page to another and then paste this text value into the first instance of the...
  6. sunil128

    Newbie Query - How do you access a textbox inside a Datalist/Repeater?

    Hi Jason, im still struggling trying to understand this, can you explain exactly whats going on with your code suggestion please. For example: protected void PopulateTextbox(object sender, RepeaterItemDataBoundEventArgs e) { //if it the row you want TextBox ctrl =...
  7. sunil128

    Newbie Query - How do you access a textbox inside a Datalist/Repeater?

    Many Thanks Jason, that was exactly what i was after! But how exactly do i call the PopulateTextbox method? i.e what parameters am i passing?
  8. sunil128

    Newbie Query - How do you access a textbox inside a Datalist/Repeater?

    Hi all, I am currently passing a number of parameters from one webform to another, these parameters are then used to set/populate textboxes & DDL’s on the receiving webform. This all works fine, however I do not know how to write a value to a textbox that is part of a datalist/repeater? So...
  9. sunil128

    Adding an onClick event to a texbox - What the hell…!!!

    Thanks for your response jmeckley, however can you expand on that comment a bit more, i kinda know what you mean, but i am a newbie newbie! And can you also suggest a solution?
  10. sunil128

    Adding an onClick event to a texbox - What the hell…!!!

    Hi all im still all very new to this area so apologies in advance for the poor explanation of the problem. My app is written VS2005,C# & ASP. I am trying to get an onClick event working with a textbox, but as many of you will probably know that no such event exist with textboxes (which seems...
  11. sunil128

    MSFlexgrid Error 30009 - Invalid Row Value

    just to add, the actual solution was this do while loop shown below: 'v1.4.5 - if a row is removed from view (i.e. change of status) this code will make icurrent row = the updated max no of rows displayed Do While iCurrentRow >= MSFlexGrid1.Rows iCurrentRow = iCurrentRow - 1...
  12. sunil128

    MSFlexgrid Error 30009 - Invalid Row Value

    Many thanks tedsmith for your reply, we have however just worked out what was causing the problem. Basicallly the users requested that the vertical scroll bar for the MSflexgrid kept its position if the grid was refreshed or if a new form is opened. Previously it would just jump back to the top...
  13. sunil128

    MSFlexgrid Error 30009 - Invalid Row Value

    I have a VB6 application that runs on a SQL Server database backend and uses an MSFlexgrid control to display a number of records returned from a stored procedure. I am getting the following error: Error number 30009 Error Description: Invalid Row Value Because the users are regularly updating...
  14. sunil128

    Error - Object reference not set to an instance of an object

    Many thanks Nelviticus, that worked! I should have actually attempted that myself before as it was one of the suggestions! But im still confused as essentially the same code works elsewhere in the application without declaring it as new. Can you explain this?
  15. sunil128

    Error - Object reference not set to an instance of an object

    Hi all I have another newbie question! Apologies in advacne for my poor explaination of the problem but please bear with me. Anyway I am getting the following error with my application - a VS2005 app written in C# with code behind: “NullReferenceException was unhandled by user code Object...
  16. sunil128

    Meta Refresh and retaining drop down list values

    Hi all, I know there are similar threads, but I still can find the exact answer I need, basically I have inherited a web application from another developer; basically there is a page that holds a repeating datalist, which is populated from a SQL Server database query. On this page the user can...
  17. sunil128

    OnSelectedIndexChanged not working for me

    Hi jbenson001 i tried deleting my controls and starting again. Were you refering the C# coding window when you spoke about the designer view? Because after creating the control, only the control is listed in left hand dropdown i.e. DropDownlist1 - but no associated events. And in the right...
  18. sunil128

    OnSelectedIndexChanged not working for me

    To be honest jbenson001, i am very mush an ASP/VS/C# newbie and so i copied & pasted the C# from another part of the application where it was already working, but i did not copy the ASP code as that (i assume) was automatically generated. Can i be very stupid and ask exactly what you mean when...
  19. sunil128

    OnSelectedIndexChanged not working for me

    Also why do some of my refernces to SelectedIndexChanged sometimes have a one on the end? e.g. DropDownList1_SelectedIndexChanged1
  20. sunil128

    OnSelectedIndexChanged not working for me

    Thanks for your reply Jason, the reason onselectedindexchanged is in lower case is becasue i was experimenting as it wasnt working with uppercase leading characters either. Also i was actually refering to stepping thru the code when i said it doesnt even go into the...

Part and Inventory Search

Back
Top