|
As per our requirement i have created a word report with password.
And i am exporting it to the client system.
It works fine in some system. But in some client system the gif images are not correctly loaded.
For all the clients the images are correctly generated at the server(i commented the code of deleting the file at the server).
And it also happened that for some clients where the images were not correctly loaded it began to load when tried another day. And vice versa also happened yet another day. I really don't know why this inconsistancy is happening.
And i was checking out at the clients were Word 2000 was installed. As i was automating Word 2000(Word 9.0.2720) at the server.
Actually while creating the document at the server i am inserting a table containing those gif images, with some formatted headings in it...
And that table is made as a header for the word document...
I just copied the file from the client system where the image is not correctly loaded to the client system where the image is correctly loaded.
Found out that it is correctly loaded.
Again i opened the file through the network from the system where the images are correctly loaded. It was alright. And everything is displayed correctly.
Now feel that it is due to some client side settings at the desktop.
In Word 9.0 what are the sttings to be enforced to load images ?
If any body could tell me that i would be grateful....
And is there any way to enforce that settings while exporting the file to the client... Doubtful of that, as we will have to
change settings of the Word Application at client...but still...
|
|
|
|
|
Hi,
I am working on Repeater control in Asp.net 2.0 which has image button within it.
I want to fire image button click event to display the image in a large view.
Can anyone help me
Best Regards,
|
|
|
|
|
Did you store thmbnailed image and larger image differently? if so, just show the larger one...
<< >>
|
|
|
|
|
Hi there;
there is no probs in display of image in large view.
I also used the same earlier.
what i had done is use href where the image is going to display on your render control.
See the code below which i used dynamically, just look it
img = new HtmlImage();
an = new HtmlAnchor();
an.HRef = "Images/" + arr[count];
img.Height = 120;
img.Width = 100;
img.Alt = arr[count];
an.Title = arr[count];
img.Src = "Images/" + arr[count];
}
Hello Forum
Always be in touch to help about the topic ASP.NET
|
|
|
|
|
hello forum;
I have a problem on implementing the paging using data list.
I am using datalist to show images with paging concept.
I already implemented the paging concept for the Imagebutton i use as fist,next previous,last sections.
But problem is that i have same buttons at bottom of page, when i make click to them the functions associated to their click events is not responding.
so plz help me in same
Hello Forum
Always be in touch to help about the topic ASP.NET
|
|
|
|
|
Cannot know exactly what cause without the code...but just to make sure...do you event handler for those buttons?
<< >>
|
|
|
|
|
Ya every thing i had checked with the code, even if i m adding new control and get called its click event than also its not responding.
Should i give u my code.
Hello Forum
Always be in touch to help about the topic ASP.NET
|
|
|
|
|
that's weird problem...are you sure that there is a line of code which is something like
this.btnReturn.Click += new System.Web.UI.ImageClickEventHandler<br />
(this.btnReturn_Click); ??
<< >>
|
|
|
|
|
Hi, i currently using ASP.NET 2.0 with MS Access, i want to use the cookie but have problem with it.
When the user check to remember i want to set cookie
Response.Cookie("username")=txtUser.Text
Response.Cookie("password")=txtpwd.Text
but it not work, please help me?
Thanks
................
|
|
|
|
|
Does client enable cookie?
<< >>
|
|
|
|
|
NO i get error, can't use like that, so please help me
................
|
|
|
|
|
|
Thanks, i got it ready.
Socheat
................
|
|
|
|
|
Hi Socheat.Net,
Wht does this mean ?
Response.Cookie("username")=txtUser.Text
Response.Cookie("password")=txtpwd.Text
Do u have already created two cookies as named above, username and password. I don't think so.
Write rather like this,
HttpCookie ck = new HttpCookie("username");
ck.Value = txtUser.Text;
DateTime dt = new DateTime(DateTime.Now.Year+1, DateTime.Now.Month, DateTime.Now.Day); //use ur expiration
ck.Expires = dt;
ck.Expires = dt;
Response.Cookies.Add(ck);
Bijay Bhaskar Deo
Thanks & Regard
|
|
|
|
|
The cookie
Request.Cookie("username")=txtUser.Text
Request.Cookie("paassword")=txtpass.Text
I can't use it, can anyone help me, i currently using ASP.NET 2.0 with VB.NEt
Socheat
................
|
|
|
|
|
What is the error you are receiving..........
|
|
|
|
|
If u know can u give me an example?
Thanks
Socheat
................
|
|
|
|
|
Hi,
Am just learning ASP.NET can u tell me wats the difference if the first parameter in a event handler is source or sender? Tht is, if it is EventHandler1(object source, EventArgs e) or EventHandler2(object sender, EventArgs e). What does that actually signify?
Regards,
Sriraj.
|
|
|
|
|
Sender signifies the object raising the event. If you click on a button then sender will be button object.
Regards,
Prakash Kalakoti
|
|
|
|
|
Thanks Prakash. but one more small clarification I need then sometimes I have seen that, this is replaced with Source. Tht is (Object Source, ...) Wat does tht mean? source is being used in which context?
Regards,
Sriraj.
|
|
|
|
|
See look only over upon the type of argument that supplied to function.
Source is the only variable that is of type object so it doesnt matter whether it is sender or source, the logic is same
Hello Forum
Always be in touch to help about the topic ASP.NET
|
|
|
|
|
Ok. so u mean its both one nd d same?
Thnx.
Regards,
Sriraj.
|
|
|
|
|
As far as I'm aware they're the same thing, just two different conventions for naming the variable....typical of MS to not stick to their own naming conventions . Remember, the name of the variable doesn't matter, basically it will always reference the control that fired the event (sometimes it might be null but not sure why)
|
|
|
|
|
Hi badgrs, thnx. fr d clarification.
Regards,
Sriraj.
|
|
|
|
|
Hi,
I have a datatable which i set as datasource for gridview.
gridViewData.DataSource = dtable;
But one column i want it to be a hyperlink type. so in the .cs file, what i need to do to set that particular column as hyperlinkField?
I know it can be done in HTML page, but i load the gridview at runtime, so need to later set one coulmn as HyperLinkField...how i do it?
Kindly help..
Thanks...
|
|
|
|