|
Hi Friends
I need to remain the value of Fileupload control in post back event.
Thanks in advance
r_palanivel83 10:01 4 Jan '06
|
|
|
|
|
I think it is IMPOSSIBLE ...........................?
// store in a variable;
|
|
|
|
|
I am also trying this. it's not workimg.
Sathya
|
|
|
|
|
did you try with AJAX. Put FileUpload Control into a update panel and make UpdateMode=Conditional and put other control in some other update panel . you can try it...
<br />
<form id="form1" runat="server"><br />
<asp:ScriptManager ID="ScriptManager1" runat="server" /><br />
<div><br />
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional"><br />
<ContentTemplate><br />
<asp:FileUpload ID="FileUpload1" runat="server" /><br />
</ContentTemplate><br />
</asp:UpdatePanel><br />
</div><br />
<asp:UpdatePanel ID="UpdatePanel2" runat="server"><br />
<ContentTemplate><br />
<asp:Button ID="Button1" runat="server" Text="Button" /><br />
</ContentTemplate><br />
</asp:UpdatePanel><br />
</form><br />
|
|
|
|
|
Try using viewstate or session maybe? It worked for me.
|
|
|
|
|
Hi all,
In our application we are generating an excel file on the User Selection of some check box. on the Click of the Every checkbox some charts willl be generated in the Excel and the records which are fetched from DB. The catch is that i dont want when user click on the checkbox every time a connection will be open and fecth the record and write the Excel file.
It suffer the preformance Issue.
Now Client requires the process of generating excel to be done in background and the download process for Excel should work in Background.
How to do this in Background?
Any help would be appreciable.
Thanks and Regards
Avesh Agarwal
|
|
|
|
|
Aavesh Agarwal wrote: Now Client requires the process of generating excel to be done in background and the download process for Excel should work in Background.
How to do this in Background?
You can do it using Thread Pool.
Visit My Blog
Regard
Imrankhan
please don't forget to vote on the post that helped you.
|
|
|
|
|
I am facing one problem in arabic sentence...
explanation: given below sentence in english
1-xyzadkjkdfjd
converting in arabic it comes like this...
1-??????????
I want it to be like this...
"-1" string should be after arabic word...
Any body assist me in this issue.
Using: c#.net(web application)
|
|
|
|
|
Hi
I have developed a site related to Art in which artist can add thier art or paintings 4 sell.
So how can i restrict user to direct copy image using right click n select Save Picture AS option.....
Thanks with anticaptions
Unless u don't give ur hundred percent whatever u r doning till there is no result of ur work...
|
|
|
|
|
//This code disable the right click property of the webpage
function Disable()
{
if (event.button == 2)
{
alert("This action is not possible")
}
}
document.onmousedown=Disable;
|
|
|
|
|
Thanks a lottttt 4 ur great suggestion n 4 ur quick response
Unless u don't give ur hundred percent whatever u r doning till there is no result of ur work...
|
|
|
|
|
~V~ wrote: So how can i restrict user to direct copy image using right click n select Save Picture AS option.....
You can also use this script.
function BlockRightClick()
{
document.oncontextmenu=new Function("return false");
}
call on body unload event
this script supports on all browser.
regard
Imrankhan
please don't forget to vote on the post that helped you.
|
|
|
|
|
Thanks this is also very nice...
Unless u don't give ur hundred percent whatever u r doning till there is no result of ur work...
|
|
|
|
|
Using javascript to prevent someone from using the Save Picture As option will stump most people but it is very easy to get around if someone really wants to get an image.
You should also watermark the images as it is quite difficult to remove a watermark successfully.
|
|
|
|
|
how can i watermark the images
|
|
|
|
|
sumit7034 wrote: how can i watermark the images
Visit My blog
regard
Imrankhan
please don't forget to vote on the post that helped you.
|
|
|
|
|
Recommend Mytoolsoft Batch Watermark, Very easy to use.
http://www.mytoolsoft.com
modified 7-Jan-12 21:23pm.
|
|
|
|
|
Hello friends,
In my app i have to fire two mails, one to user and other t0 admin.
Admin receives a mail with attachment, and user gets without any attachment.
Now my probelem is that when i execute my code on local it is wrking fine but when i upload it live the admin is not getting any mail whether the user is getting.
I make some changes in admin mail, i removed the line for attachment and again uploaded it in this case
admin also receives an email.
I mean to say that i am not able to deliver email with attachment from the live whether from local my code is wroking fine.
Please tell me what could be the problem.
Deepak Nigam
|
|
|
|
|
check the size of the uploaded file..
|
|
|
|
|
Can u sort out this issue?[^]
If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
|
|
|
|
|
I have a set of web services that need to know who the user is who called them (for enforcing rights in the app, as well as auditing).
I tried to add a property to the web service's class. It compiles, but it is not exposed when I try to call it from the client app.
Is there a way to do this, or should I add a parameter to my methods to pass the user id ?
Johan Lombaard
Only two things are infinite, the universe and human stupidity, and I'm not sure about the former - Albert Einstein
|
|
|
|
|
Properties are not exposed. Put a parameter in the method instead.
|
|
|
|
|
How to get the column dynamically in CrystalReport using StoredProcedure….(VS 2003)
I have created a StoredProcedure and inside that am calling one more StoredProcedure..
First time Everything is coming properly…..
Here the Column headings are coming from one table and the other values are calculated and coming from some other tables…so if I add a new item in that table where the column headings are coming ,the new value which I have added is not coming in the report as a new column….
Is it possible to make?.....Is there any way to do this?....
Thanks in advance…
|
|
|
|
|
Get it
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|
|
I'm using VS 2005 on .Net 2.0 and need to create 2 server controls in C#. The one needs to display an image and the other a video and they need to be able to have associated properties. Is that possible?
I've tried researching on Google but most info is fo VS 2008 on .Net3.5.
Can anyone offer me some advice on where to start or have sample code that can help me find my way?
Thanks
|
|
|
|