|
did you used Ajax in this page ?
if yes then use
ScriptManager.RegisterClientScriptBlock()
insted of
imranafsari wrote: Page.ClientScript.RegisterStartupScript(csType, "PopupScript", Script);
cheers,
Abhijit
|
|
|
|
|
create sp...
TOT int out
Select TOT = count(*) from <TableName> where <columnName> like 'x%'
dynamic query for paging
here i am not getting result, why?
thanks
-Sriguru
|
|
|
|
|
hi all
i meet a problem with CalendarExtender control i used it in my form to show hijri calendar format and change the setting in windowes to hijri calender
but the CalendarExtender read the Gregorian format also i make a label in the same form and its read the date from the system with the hijri format >
how can i slove this problem ?
my question i
i want the Calendar Extender show the hijri format as the system configuration
if i din't explain my question clearly pls inform me.
thanks 4 all
Kareem Elhosseny
modified on Tuesday, August 5, 2008 9:05 AM
|
|
|
|
|
Check this [^]it is on windows application example but maybe it will give idea to you for Ajax.
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
|
|
|
|
|
Thanks for your help
Kareem Elhosseny
|
|
|
|
|
Hope it helped you
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
|
|
|
|
|
i took one button.
i wrote gridview.rows[0].enabled = false only deleting 1 row .if i click
second row its not deactivated..how to solve this show me way..
|
|
|
|
|
Because {gridview.rows[0].enabled = false} only diables row[0]. To disable all rows you need to disable all rows.
Try this
<br />
foreach (GridViewRow Row in GridView)<br />
{<br />
if (Row.RowType == DataControlRowType.DataRow)<br />
{<br />
Row.Enabled = false;<br />
}<br />
}<br />
This should work.
|
|
|
|
|
Iam getting error .this is the description
foreach statement cannot operate on variables of type 'System.Web.UI.WebControls.GridView' because 'System.Web.UI.WebControls.GridView' does not contain a public definition for 'GetEnumerator' .
|
|
|
|
|
What programming language are you using?
|
|
|
|
|
|
foreach (GridViewRow Row in GridView.Rows)
{
if (Row.RowType == DataControlRowType.DataRow)
{
Row.Enabled = false;
}
}
Sorry left out the GridView.Rows
That should sort the problem out.
|
|
|
|
|
i solved .
this is the solution.
Take buttonfield set text ="Deactivate"
in gridview indexchanged event write like this
gridviewrow row = gridview1.selectedrow;
row.enabled = false;
ROWCOMMAND EVENT
if(e.commandname.tostring()="deactivate")
{
for(int icounter =0;icounter<gridview1.rows.count;icounter++)>
{
gridviewrow row = gridview1.selectedrow;
row.enabled = false;
}
}
|
|
|
|
|
I am doing an application, which has almost completed. Now i want to implement this in our Intranet site. I have configured IIS Virtual Directory.
When i am calling this from my PC it is working fine.
Example : -
http://localhost:56/pms/login.aspx
But i am not able to get this page from other machines in our network.
I have set the properties also....but no use
What could be the issue..?
Please help....?
SAJAN A PILLAI
ASP.NET,C#.NET Programmer
BANGALORE
"Winners don't do different things. They do things differently. ...
|
|
|
|
|
Localhost means you can access it on your computer only, is the app currently being held on your computer?
|
|
|
|
|
I presume you are replacing "localhost" with the machine name when calling it from another computer on the network...?
Make sure you have configured the computer's firewall to allow HTTP connections through - at least from your Intranet.
|
|
|
|
|
I have gone through with a thorough check of http scope. Its all seems to be fine. When i am calling the application from other machine like
http:
it is not showing any page...?
Please help me fixing this...
SAJAN A PILLAI
ASP.NET,C#.NET Programmer
BANGALORE
"Winners don't do different things. They do things differently. ...
|
|
|
|
|
try entering the above url on your own machine
you tried localhost which worked didnt it on your own machine?
Where is the web app stored?
|
|
|
|
|
You need not specify port no:
http://localhost:56/pms/login.aspx
remove this part- :56
http:://localhost/pms/login.aspx
try above one.
-->be sure u need to have virtual directory with name pms
-->u need to take windows authentication of your system when u trying to access this website into another system.
This is haneef.............................................................
|
|
|
|
|
i wrote a text in label.
lbl.text = "1- aaaaaaa. 2-bbbbbb"
i want show it in 2 line, this form:
1- aaaaaaa.
2-bbbbbb.
how can i do this.? how use from \n
|
|
|
|
|
|
Try "1- aaaaaa. \r\n2-bbbbbbb"
|
|
|
|
|
Hi Everyone,
I doing some research on binding a .txt file content to a datagrid, i already try some function and feature e.g. Readline. But i still can't manage to populate my .txt file content in order. Pls give some advice, if i din't explain my question clearly pls inform me.
Thanks in advance,
Mouse regards.
|
|
|
|
|
Have you tried to read the data in the text file, into a DataSet?
Once you have your data in a DataSet you could just bind it to a DataGrid.
|
|
|
|
|
Hi Bardy85,
Thanks for your reply, i have do some research after saw your msg. But after i do some net searching, it seems hard to find the code for binding the .txt file to dataset. You mind to provide me a few line of code about how to bind the .txt file to dataset, i appreciate your reply. Thank You.
Millions of Thanks,
Mouse Regards.
|
|
|
|