SELECT x = SUBSTRING('abcdef', 2, 3)Hi All In this blog you will get to know some of the problems i have faced during my day to day work. and the solutiosn that i have used for those problems.
Monday, December 5, 2011
Friday, December 2, 2011
Radio button with gridview asp.net
Hi Ther,
We are facing many problems with including radio button with grid
one of them is all are selected because they are generating different name in html
to overcome we have to do the following then its easy.
in html code we have to assign its checked chang event and in code back we have to write the code like this
foreach (GridViewRow row in gridViewProducts.Rows)
{
((RadioButton)row.FindControl("radioButtonToSelectTheProductResult")).Checked = false;
}
var radioButton = (RadioButton)sender;
radioButton.Checked = true;
then what we are doing here is setting first all check box to false and then the one who is sender to true.
by default with radio we are giving customer to select one, we are not allowing to deselect all.
so one who is clicked is already selected in grid.
It is working correctly there.
Engjoy radiobutton with gridview
Thanks & Regards
Nipam Budhabhatti
We are facing many problems with including radio button with grid
one of them is all are selected because they are generating different name in html
to overcome we have to do the following then its easy.
in html code we have to assign its checked chang event and in code back we have to write the code like this
foreach (GridViewRow row in gridViewProducts.Rows)
{
((RadioButton)row.FindControl("radioButtonToSelectTheProductResult")).Checked = false;
}
var radioButton = (RadioButton)sender;
radioButton.Checked = true;
then what we are doing here is setting first all check box to false and then the one who is sender to true.
by default with radio we are giving customer to select one, we are not allowing to deselect all.
so one who is clicked is already selected in grid.
It is working correctly there.
Engjoy radiobutton with gridview
Thanks & Regards
Nipam Budhabhatti
Friday, November 18, 2011
Modal popup-;extender control with asp. net
Normal ajax popup extender control is using the client side calls.
so from backside if we want to starts the modal control from code
then first we have to give the faxe control for target control id
then from code we can show extender.Show(); method
then we can choosse the update panel to open it also at the time of update panel.
Thanks & Regards
Nipam Budhabhatti
so from backside if we want to starts the modal control from code
then first we have to give the faxe control for target control id
then from code we can show extender.Show(); method
then we can choosse the update panel to open it also at the time of update panel.
Thanks & Regards
Nipam Budhabhatti
Friday, August 5, 2011
Javascript with Scriptmanager
ScriptManager.RegisterClientScriptBlock(this, typeof(Page), "xxx", "alert('Hello World!');", true);
Wednesday, August 3, 2011
Change the schema in sql server 2008
alter
schema portal transfer dbo.table1
It has been long time
It has been a long time since i am active too
Subscribe to:
Posts (Atom)