|
Were you accessing it using IP? if so please check if thats changed.
Check IIS is working properly.
|
|
|
|
|
Check if the IIS web site is running or not. Restart the IIS web site if possible.
Also check if network is available between you and server.
|
|
|
|
|
Hi dude i got this same problem.. The solution is check That LAN Machine Firewall... if it is on, then disable it..It will work...
Bye
SureshKumar.S
sureshkumaran
|
|
|
|
|
Yes. . Agreed. This is the primary requirement. Need to exempt the http ports from the firewall to reach the server.
Its the most basic requirement, Indeed.
|
|
|
|
|
in gridview i want show just 7 rows, how can i set this property?
|
|
|
|
|
Set PageSize=7 of gridview.
|
|
|
|
|
There are multiple option :
1. You can use Page and Restrict the page limit to 1
2. On RowdataBound, restrict the limit.
Thanks !
|
|
|
|
|
There is a nice controll attribute to add e.g.:
this.buttonAdd.Attributes.Add("onclick", "window.open ('SomePage.aspx','Add','scrollbars=1,resizable=0,width=730,height=580')");
say added during Page_Load.
Can I perform such window.open() by clicking on the button without postback? and opening desired page like SomePage.aspx?param=value
Чесноков
modified on Thursday, August 13, 2009 6:27 AM
|
|
|
|
|
Well just make it
this.buttonAdd.Attributes.Add("onclick", "javascript:window.open ('SomePage.aspx','Add','scrollbars=1,resizable=0,width=730,height=580');return false;");
return false means the page will not be posted back.
|
|
|
|
|
No, the code provided already does not present postback after the button is clicked.
What I need is to click the buttonAdd and to open SomePage.aspx in a new window with params passed to SomePage.aspx as a query string.
After the click on the buttonAdd happen, the page with buttonAdd should not post back.
Чесноков
|
|
|
|
|
yes. The code I provided just does that.
Check if you have correctly applied the code or not.
Just see what I have done:
In designer I wrote :
<asp:Button ID="btnid" runat="server" />
On the server side I wrote :
btnid.Attributes.Add("onclick", "javascript: window.open('testform.aspx', 'download', 'left=1000,top=1000');return false;");
Thus whenever the button is clicked the new window will load the page, and it calls the server but the opener window doesnt post back.
If you want to check just place Response.Write("Testing Postback"); on the OnClick event of btnid. You will see the calling page doesnt write the string.
Hope you understand.
|
|
|
|
|
hiii
i want to populate the listview control from database.
eg.search member and the memberdata get display in listview.
i hav tried but its not workin.plz giv me idea wat to do.
thanks in advance...
regards..
|
|
|
|
|
|
thnks....
it realy helped me....
|
|
|
|
|
|
Hello Everyone, i m building datalist with list of items with multiple small link buttons like reviews, specifications, comparisons etc. and all these are placed on a another single page in Ajax tab Container. and click on button in first page specific tab will be shown on second page...............how to do this....plz guide me
|
|
|
|
|
|
i have a gridview and it works right, but when i write this code: "grv1.AllowPaging = true;" it gives error in binding and the errorMessage is :
"Object reference not set to an instance of an object"
do u know what should i do???
i think it has error in StateFormatter but i dont know what should i do
plz help me
|
|
|
|
|
Can you please paste your databind and paging code?
|
|
|
|
|
private void ReadRss(string path)
{
string rssUrl;
DataSet ds3 = new DataSet();
if (path != "")
rssUrl = path;
else
//rssUrl = "http://jahannews.com/rssdx.gmyefy,ggeltshmci.62ay2x.y.xml";
rssUrl = "http://www.petronet.ir/backend.php";
ds3.ReadXml(rssUrl, XmlReadMode.Auto);
grv1.DataSource = ds3.Tables["item"];
grv1.DataBind();
}
void grv1_PageIndexChanging(object sender, GridViewPageEventArgs e)
{
grv1.PageIndex = e.NewPageIndex;
//grv1.PagerTemplate = null;
ReadRss(strPath);
}
when i set grv1.AllowPaging = true i give error in grv1.DataBind();
with this message:Object reference not set to an instance of an object
|
|
|
|
|
http://www.dotnetspider.com/resources/1249-Grid-View-Paging-Sorting.aspx
this may help you.
|
|
|
|
|
Hi all,
Can u tell me Is it possible to get the value of previous page view state value in current page?
eg
page1
viewstate["Name"]="Akash"
response.redirect("page2.aspx")
so in Page2 how can i get the value of viewstate["Name"]?
is it possible? if so how?
Thanks and Regards
Lijo
|
|
|
|
|
Hi,
ViewState is limited to postbacks for single page only.
You can not access value of viewstate of one page from another.
Use session instead.
HTH.
Coding C#
www.excitetemplate.com
|
|
|
|
|
You might start by reading a basic book, so you have some sort of clue about what you're doing.
You have two options:
1 - you can do a cross page postback, where page 1 sets up page 2 to see it's viewstate. This is an ugly hack
2 - you can take your two pages, turn them into controls, show them on the same page, and then they will share viewstate b/c they are the same page.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
How to configure SMTP? My system is connected through LAN.
|
|
|
|