Hi
On hdfBookId.Value , hdfMobile i am getting above error
public static void getPopUp()
{
BALBooks bALBooks = new BALBooks();
BALStudents bALStudents = new BALStudents();
StudentDetail Result = bALStudents.GetStudentDetailByLoginID(bALStudents.GetStudentIDByMobile(hdfMobile.Value));
BindData(Convert.ToInt32(hdfBookId.Value), Result.LoginCode);
}
Thanks
Ramco RamcoPosted May 17, 2023, 8:47 AM
Hi Naimish
I have changed but Ajax part is not getting executed.
Secondly what should i change to pass values to BinData()
Thanks
Naimish MakwanaPosted May 17, 2023, 8:39 AM
Based on the provided script, it seems that you're trying to access the values of
hdfBookIdandhdfMobileelements in the JavaScript code. However, since those elements are usually server controls in ASP.NET, you need to make sure they have unique ClientID values when rendered on the client-side.Ramco RamcoPosted May 17, 2023, 8:36 AM
Hi Naimish
Below is the Script. What should i change
Thanks
Naimish MakwanaPosted May 17, 2023, 8:33 AM
You need to access variable like this:
Thanks