|
oh sorry, I didnt see it
Rocky
You can't climb up a ladder with your hands in your pockets.
|
|
|
|
|
hi,
What about this
MyTreeView.SelectedNode
|
|
|
|
|
yea I got it just a few moments ago.
Thanks v much , gave for 5 for that Cheers..
Rocky
You can't climb up a ladder with your hands in your pockets.
|
|
|
|
|
the file upload property name file upload is returning false when a zero bytes file is uploaded .but i want even the zero bytes file also should be loaded how could be possible
|
|
|
|
|
Instead of uploading such files, can you directly create it on the destination machine?
Nana
|
|
|
|
|
I mean only 0 bytes files, create it
Nana
|
|
|
|
|
actually the file upload is returing 0bytes file as false ..iam having one function in if condiotn of the zero bytes file that is reason the file upload is not working for 0 bytes so any ohter method is there to upload a file
|
|
|
|
|
I believe, you haven't see the UploadControl.PostedFile.ContentLength property which would return the File Size.
|
|
|
|
|
I have treeview control in my website and each node also has a image. When user click on a node the page redirect to another page. Now my question is , is it possible to have two different url, one for clicking on image node and another for clicking on node text?
Mazy
"This chancy chancy chancy world."
|
|
|
|
|
Use JavaScript and overrides the Links. But it is a complicated one and bring up performance issues if the data is huge, since JavaScript executes on Client Side (After the Server-Side Load).
|
|
|
|
|
|
What do you mean by run time? If you want to check the checked property of a control inside gridview then first you need to search that control and then you can check whether it is checked or not.
Apurva Kaushal
|
|
|
|
|
Hi,
check this.
bool chkValue = ((CheckBox)selectedRow.Cells[0].Controls[0]).Checked
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|
|
Thanks for your kind reply.
Its not a checkbox template .we add a checkboxfield as row.how we get the boolean status of checkboxfield in a grid dynamically......
|
|
|
|
|
Hi, the same thing I have given you. Its for Checkbox field dear.
try..
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|
|
Why did you delete your original query?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
HI guys ,
In Gridview i have a table containing number of records so that i used vertical scrolling to view the records, but while scrolling the column names of the table is not visible, here my question is how can we make the column names visible eventhough we scrolled vertically?
Thank you guys
"work your plan and plan your work"
coding makes me interesting in dot net
|
|
|
|
|
You can take help from this[^] article.
Apurva Kaushal
|
|
|
|
|
I am using vb with asp.Net.i want to delete picture in my folder using code.How can i do this
|
|
|
|
|
using this code you can delete the file.
System.IO.File.Delete("path of the file"); Check about the permissions setting.
Apurva Kaushal
|
|
|
|
|
Hi,
string imgFolder = Server.MapPath("folderPath");<br />
string[] imgList = Directory.GetFiles(imgFolder, "*.jpg");<br />
foreach (string img in imgList)<br />
{<br />
FileInfo imgInfo = new FileInfo(img);<br />
if (imgInfo.LastWriteTime < DateTime.Now.AddMinutes(-3))<br />
{<br />
imgInfo.Delete();<br />
}<br />
}<br />
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|
|
System.IO.FileInfo objFileInfo = new System.IO.FileInfo(Server.MapPath(@"../File/") "FileName");
objFileInfo.Delete();
|
|
|
|
|
I am using ffmpeg.exe in my project to convert the uploaded video files(.wmv,.mov,.avi etc) to flash movies files (.flv). I have used process.start() method to execute the executable. In such a scenario every time a file is uploaded, a new process is created for the ffmpeg.exe which converts the uploaded file. This will increase the load on the server as the number of user increase. How can overcome this problem? Can anyone suggest some way out
|
|
|
|
|
Why are you converting videos in a website at all ?
I'm not sure what you can do. Even if you had ahold of the process, how would you know to end it ? Perhap by the video file being done ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Well thanks again Christian, well you are correct I am ending it after the video file is getting converted and saved. I have a requirement for which i have to convert file in my website. This conversion thing is working fine but Then I thought executing an exe file will increase the load on server. Is there any way to tackle the problem..? Hope I have made my problem clear in last post.
I was wondering instead of a process getting created for each upload can we have many threads for a process....? I am just giving an idea....I don't know if it is possible.
|
|
|
|