|
Have you tried a width 100% ?
|
|
|
|
|
We are having an asp.net1.1 page in Plumtree Portal 6.0(internet applicaton) which shows lot of contents in a treeview. We are populating the treeview through AJAX. Once the page gets loaded, we are registering a startup script which in turns calls the same page(one querystring is passed) through AJAX, and through response.write we are showing div and anchor tags to build the tree. When we click multiple times on the page hangs. When we refresh browser, we are getting the error A script on this page is causing internet explorer to run slowly. do you want to abort the script yes/no. Even when we click yes, we are unable to continue with the process and the browser hangs. When we viewed the temporary internet files, we saw that page with the querystring parameter having the size of 400kb which may be the reason? Any ideas to overcome this scenario. Our situtation is to populate the tree after the page load through AJAX
|
|
|
|
|
Ours is an asp.net1.1 internet application. We are referring to IBM Surfaid javascript file which is hosted in that website. We are calling a javascript function defined in that file. We are using page.render method to register a javascript which will call the javascript function defined in that function on every page load. On first time load, it is happening file. On postbacks, we are getting a Warning 'The page is accessing information outside the network. Do you want to continue? Yes or No'. We used to click on yes. Is there any solution to avoid this warning? Is that due to that external js file reference(other domain) or something else? We need to refer to that file web usage tracking. Please suggest something
|
|
|
|
|
How Can I add new record to database using DataGrid control in ASP.NET.
|
|
|
|
|
|
Hello,
I created a class named Scripts with a function (Add) and a property
(List). I compiled it into a dll.
Basically, when I do:
Dim MyClass As Scripts
MyClass.List = "Script1, Script2"
MyClass.Add
It adds the scripts to the page.
My problem is that inside my class I have:
Page.ClientScript.RegisterClientScriptInclude ...
And I get an error saying:
"Name Page is not declared"
How can I solve this?
Thanks,
Miguel
|
|
|
|
|
You can :
1. create a member of type Page in the class, then use that for the code.
2. create a parameter of type Page in the class.
(untried)
You can also try to get the parent of the control, and cast it as page.
|
|
|
|
|
I have Datagrid in which i m using Autogenerated Columns to show data.
Now i want to adjust Columns Width accordingly....
Any help will be greatly appreciated....
|
|
|
|
|
You can iterate through the columns property, and change it there.
|
|
|
|
|
Can u explain with some example.....I cannot u
|
|
|
|
|
use the Columns property of the datagrid. Iterate through them, then set their width.
|
|
|
|
|
Hi,
Sorry if this is the incorrect forum.
Was wondering if any one can point me in the right direction with a query I have.
If a person has a website that refers a customer to another website (eg Fred's Jeans), and then that customer purchases a pair of Fred's Jeans - Is there a way to count how many people do this (not just traffic but actually finalise a sale).
If so can any one offer any advice etc.
Cheers
Dan.
|
|
|
|
|
When you send the person to Fred's Jeans, there should be a query string value with a unique identifier for your site (the referrer) like www.fredsjeans.com/?refid=12. Fred's Jeans must then store the refid value in Session (or keep it in the QS the whole time by changing links). Then when a user buys something the site checks the Session for a refid and if it finds it the referrer is credited with the referral.
|
|
|
|
|
Thanks for the speedy response.
So this means that if Fred's Jeans didnt have a site set up to deal with referals then the code of that page would need changing too, so that it can send me back a msg saying some one has bought some of my fine jeans?
Thanks
Dan.
|
|
|
|
|
Hi
When I use DetailsView in VS2005 and set it in defultMode to insert and then when I need to get the new values so in the DetailsView_ItemUpdating event the following code alwayes give me null exception
<br />
String Field1Values;<br />
Field1Values = e.NewValues["xyz"].ToString();<br />
Also I set set ConvertEmptyStringToNull="False"
But still I get null exception !!! any one help me
so
I want to get updated values back from the
DetailsView and then handle my updating manually.
-- modified at 12:08 Friday 3rd November, 2006
|
|
|
|
|
Am working in .net 2005 asp.net and using sql server 2005 as an back hand . I wat to store the browsed file to my data base .
So please help me
saurabh saraf
|
|
|
|
|
how can we upload a file thru ftp
|
|
|
|
|
You can have a look at this[^] .
Best Regards,
Apurva Kaushal
|
|
|
|
|
Hello,
can someone please tell me how can I read the ETAG header insire Application.Context.Response field inside an HTTPModule??
I've seen that there's a method HttpCachePolicy.SetETag, but it's a setter...
any suggestion?
Bests
Paolo
|
|
|
|
|
hi
please tell me how to set cookies for perticular urls i am tryied but it is not reflecting properly see the code
c = new Cookie("chasezip","zipcode=40201&state=KY&county=Jefferson", "/", ".chase.com");
c2 = new Cookie("marketlist", "68|70|73|79|80|90|116|138", "/", ".chase.com");
//c.Domain = ".chase.com";
myHttpWebRequest.CookieContainer = new CookieContainer();
myHttpWebRequest.CookieContainer.Add(siteUri, c);
myHttpWebRequest.CookieContainer.Add(siteUri, c2);
response = (HttpWebResponse)myHttpWebRequest.GetResponse();
resStream = response.GetResponseStream();
it is not working properly
|
|
|
|
|
how to insert text balloons(CallOuts) to a textdocument in web applications in .net
|
|
|
|
|
Hi All,
I Rajesh Very New For ASp.net...I neeed A code for Login Page..In C#..I know Asp Very Well But need help In asp.net.
I can Give My Database Infomation..
Database name : RajeshDB
Used table : TblLogin having(id,username,password)
Page name : login.aspx
U can Give me ur connection string ..i can manage it..
I need Both login.aspx n login.aspx.cs
Thanks In Advance..
Life is not easy ,let's make it.
|
|
|
|
|
I don't think so anybody will write the complete code for you. It will be better if you try it with yourself and then come with the specific doubt you will get which development.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Ok Thankz Sir ..I'll Do that ....
Life is not easy ,let's make it.
|
|
|
|
|
Hi asprajesh, life is not Easy, You can make it easy, we can help, we cant do all the job for you...
At login html page, add one Login Control (named whatever you want, Logeo is this case)
login code behind
at aunthenticate Function
<code>
protected void Logeo_Authenticate(object sender, AuthenticateEventArgs e)
{
try
{
string id_user = Logeo.UserName.Trim();
string pass_user = Logeo.Password.Trim();
string sql = "SELECT coduser, nomuser FROM users WHERE iduser = '" + id_user + "' AND passuser = '" + pass_user + "'";
//This is an connection Example
public SqlConnection conexionExpress = new SqlConnection("server='localhost\\SQLExpress';Integrated Security=true;Initial Catalog=college;User Instance=false");
SqlCommand comandoSql = new SqlCommand(sql, conexionExpress);
string cod_user = "";
string nom_user = "";
//Open database connection
conexionExpress.Open();
SqlDataReader dr = comandoSql.ExecuteReader();
while (dr.Read())
{
cod_user = dr.GetValue(0).ToString();
nom_user = dr.GetValue(1).ToString();
}
conexionExpress.Close();
if (cod_user != "") //The user exist onto database
{
/*Create the session vars
Session["coduser"] = cod_user;
Session["nomuser"] = nom_user;
e.Authenticated = true; //Grant the access
}
}
catch(Exception)//On Login Error
{
e.Authenticated = false;//Confirm that you are out
}
}
<code>
Its almost all the solution, you can based your solution on this
keep Learning and you never will be out of date...
|
|
|
|