Hi All,
I am new to ASP.NET and this forum as well.
My task is to create dynamic textboxes, I have taken a table where each row contains 5 textboxes and assigned to panel when the user press enter in the 5th textbox new row is created.
I have given id as TXT + table.row.count so the id's as follows txt1,txt2... for each column.. now my requirement is before creating new row I need to check whether last two textboxes values in the row is equal or not then I have to prompt a dialog with YES/NO options to user. I could not do in server side(VB) since the id's of textboxes are not accessible in page load method. So I worte code in javascript but here there is no confirm/alert with YES/NO Options... Please help me regarding this issue. Is there any other way to obtain the above explained?
And second requirement is when the user presses F5 in second row I need to copy the above row values to current row. Here I need to get the option whether ROW/COLUMN if he/she selects ROW then entire row to be copied otherwise single cell has to be copied.
Please Help regarding the above issues. I tried VBscript but it is not working in FIREFOX.
Regards
I am new to ASP.NET and this forum as well.
My task is to create dynamic textboxes, I have taken a table where each row contains 5 textboxes and assigned to panel when the user press enter in the 5th textbox new row is created.
I have given id as TXT + table.row.count so the id's as follows txt1,txt2... for each column.. now my requirement is before creating new row I need to check whether last two textboxes values in the row is equal or not then I have to prompt a dialog with YES/NO options to user. I could not do in server side(VB) since the id's of textboxes are not accessible in page load method. So I worte code in javascript but here there is no confirm/alert with YES/NO Options... Please help me regarding this issue. Is there any other way to obtain the above explained?
And second requirement is when the user presses F5 in second row I need to copy the above row values to current row. Here I need to get the option whether ROW/COLUMN if he/she selects ROW then entire row to be copied otherwise single cell has to be copied.
Please Help regarding the above issues. I tried VBscript but it is not working in FIREFOX.
Regards