|
try to do As Abhi suggested..!
krishnaveer wrote: m giving different image path in my project.
Copy the image from tht path and store it in your localserverfolder and access tht image..!
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
I have copied the path and paste it into window explorer, its showing the image. But the same url is not working when m using it in project.
krishna veer singh
|
|
|
|
|
You Misunderstood my friend..!
i told you to copy the image from local server drive programatically and store it in your server.MapPath as you are doing for file upload control
and now you access the image..!
AFAIK You cant access the image directly from the local drive..!
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
Hi,
I am working on a Asp.net application. In this, on a button click I need to display a popup with a listbox control. After selecting the values in this listbox they should be add to the grid or displayed on the starting page. I think we can use model popup here. Please let me know how to use this or any other solution.
If anyone have any idea to do this please reply me.
Thanks in advance.
|
|
|
|
|
Nekkantidivya wrote: I think we can use model popup here.
Yes you can use ModalPopUp[^]
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
www.aktualiteti.com
|
|
|
|
|
Hi ,
Is there any way to upload a file using drag and drop to browser ?......Could you please help me ?
with warm regards
|
|
|
|
|
I think you can do this using an ActiveX (IE only). Or search for some third party controls that allow you to do this.
50-50-90 rule: Anytime I have a 50-50 chance of getting something right, there's a 90% probability I'll get it wrong...!!
|
|
|
|
|
No.... You cant...
Fileuploader should point the file by opening OpenFileDialog. Even setting Value of input type="file" doesnt actually get the pointer to the disk file in the client computer.
|
|
|
|
|
yeah ,
is there any Jquery plugins for that ?
|
|
|
|
|
Sorry my friend..
If JQuery can do that .. .We can also do that.. If there is no option, how does JQuery do...
|
|
|
|
|
Hi all,
I need to show the Country DDL first, if i select the country then it has to fill the states in and after that city..
if i have a database i can do..
but its very difficult to enter all those in the database..
and i searched in web, i saw one website that they are providing db but its chargable.
is there any methods in asp side, so that we can access and show?
help me, thanks in advacne..
|
|
|
|
|
Hema Bairavan wrote: is there any methods in asp side, so that we can access and show?
AFAIK I dont Think so..!
BTW For Which Countries you need..!
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
hi shashi,
thanks for ur reply.
its a kind of data entry application , can be accessed all over the world,
so i need all the countries and its states and its cities..
is it possible?
|
|
|
|
|
|
|
I need to set all control t0 "Readonly" mode Except the Label in Page.
The structure of the control is
Panel-->div-->Table-->TableRow-->TableCell-->Controls
Here Controls are
1)RadioButtonList(10) 2)DropDownList(10) 3)Textbox(15) 4)Checkbox(5).
total i have 40 controls...
Please suggest me how to set the Readonly Property Generic for all controls.
Thanks in Advance.
JohnDas
|
|
|
|
|
|
You will need to loop through all the cells and then set there property. You can also place a transparent div over the panel so that controls beneath will be visible but not accessible (something like what happens in case of pop up).
50-50-90 rule: Anytime I have a 50-50 chance of getting something right, there's a 90% probability I'll get it wrong...!!
|
|
|
|
|
Hi Team,
I am having value in a table which contains in this format
180/20, 160/24
I need to show the maximum value and Min value from SQL Query
Like if Value is 180/20 then
Maximum value =180
Minimum Value =20
Please help me
|
|
|
|
|
You want to do it on the SQL query or in your C# code?
C# code - Split the text on "/" and get the max and min values from the resultant array.
SQL query - select left(ColName, charindex('/', ColName)-1), right(ColName, len(ColName)-charindex('/', ColName))
You will need to test and correct the SQL as necessary.
|
|
|
|
|
Try this
SELECT
'maximum valuue='+(SUBSTRING(valstr,1,CHARINDEX('/',valstr)-1 )),
'minimum valuue='+SUBSTRING(valstr,CHARINDEX('/',valstr)+1 ,LEN(valstr))
FROM mytable2
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
www.aktualiteti.com
|
|
|
|
|
Hi all,
I need one clarification.
I am working on aspx project.
here i have a function (javascript) on my aspx file.
My question here is , is it possible to access the same function from the aspx.cs(code behind) file??
can it be possilbe by inheriting or doing something???
thanks in advance
|
|
|
|
|
As far as I know, there is no conventional method to do so.
Even if you achieve it somehow, it is useless unless you process data entered at client's browser.
"Eval()" function is the only thing I can consider which might be needed at server side from JavaScript.
BTW, Why do you want to do so?
Just call your JavaScript function in client side, Post the result back to the server,
then you can access the result at the server. After wards, you can process on the result there.
|
|
|
|
|
Am I correct in saying that you need to execute a javascript function after a particular event has been completed and the server has rendered the resultant page to the client?
If this is what you need then, just use the RegisterStartupScript method in the Page / ClientScript object, based on your version on ASP.NET, to place a call to the javascript function.
This call would be executed once the browser receives the markup
|
|
|
|
|
Hi,
User server side script to do this
Farogh Haider
Web developer
|
|
|
|