Posted on: 10/13/2015 2:29:40 PM | Views : 918

Hi.

I've created a webform with a data table inside a gridview. The table has 6 columns. I've created it with an empty row.
The first 4 columns are dropdownlists and the other 2 are textboxs. At the end of the table, there is a button that creates new lines.

The problem is that the dropdownlists only get populated after a new line is created. The same with the textboxs properties, which I blocked for numbers only.
Here is my code:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="record_project.aspx.cs" Inherits="project_1.record_project" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <link runat="server" ty ...

Go to the complete details ...