|
|
|
Is it a javascript pop up?And are you checking on firefox?
|
|
|
|
|
could be this.
window.setTimeout(document.getElementById('+field_id+').focus(),500);
Devjit Das.
|
|
|
|
|
|
Hi,
I have 10 browser select in a page, uploading all the 10 are optional, if i upload 10 images and insert than its working,
Problem was if i upload <10 images than its showing Runtime error, can u pls help me
krishna
|
|
|
|
|
What is the error you are getting ?
|
|
|
|
|
krishnavaradharajan wrote: Problem was if i upload <10 images than its showing Runtime error
Turn off custom errors and get the exact error message that you encounter.
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
|
|
|
|
|
Server Error in '/' Application.
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customerrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customerrors> tag should then have its "mode" attribute set to "Off".
<configuration>
<system.web>
<customerrors mode="Off">
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customerrors> configuration tag to point to a custom error page URL.
<configuration>
<system.web>
<customerrors mode="RemoteOnly" defaultredirect="mycustompage.htm">
krishna
|
|
|
|
|
Locate the customerrors and set it to OFF. That way it would precisely show you what is the error all about?
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
|
|
|
|
|
Hey all,
I have some buttons which are using some images .gif files
Now i need to change the text and color of those images how can i ?
Is there any tool for it ?
[Edited] Can any one tell me how can create gif images for the buttons [/Edited]
-- modified at 2:12 Friday 23rd November, 2007
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
playing with bugs ) wrote: Now i need to change the text and color of those images how can i ?
You need to look into the GDI+ classes. BTW, why do you want to change this ? It is not much recommended, because it's very tough to find out the text from and image and change it. You can create a new image with text easily using GDI+.
|
|
|
|
|
Hey Navaneeth
i don't want to change it programetically . i have some templates now i want to create new buttons in same way with different text . Is there any tool avialable for it?
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
playing with bugs ) wrote: i have some templates now i want to create new buttons in same way with different text
So are you asking for a image editing tool ? I like Paint.NET. It's open source too.
|
|
|
|
|
N a v a n e e t h wrote: I like Paint.NET. It's open source too
Can i edit existing template using this tool
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
playing with bugs ) wrote: Can i edit existing template using this tool
I couldn't understood what you meant by "templates". Paint.NET is a image editing tool. You can change the text etc.. IF you want to do very advanced editing, Photoshop is better
|
|
|
|
|
playing with bugs ) wrote: template
something like .psd file with layers from Photoshop. Paint.NET supports the layers.. but I'm not sure whether your template will be editable in Paint.NET..
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
|
|
|
|
|
playing with bugs ) wrote: i need to change the text
I don't think it is possible with any Image tools.
playing with bugs ) wrote: color of those images
Perhaps you can little adjust the RGB and Contrast etc.
playing with bugs ) wrote: Is there any tool for it ?
1) Paint.NET
2) Adobe PHotoshop
3) Irfanview (To an extent)
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
|
|
|
|
|
using smo connect to server ,connect to database and retrive table,then
give me guidelines to retrive rows from particular table using
microsoft.Sqlserver.Management.smo class
|
|
|
|
|
|
Hello every one
There is little problem of IFrame, I have to show Html file in a IFrame, there is File upload control in the form, from there user browse a html file, I don't have to save the uploaded file, just I have to Save path of the uploaded file into an XML File. So I have to show the html file into IFrame by reading path from the XML and If user wants to show the newly uploaded file into IFrame then I have to also show uploaded file into IFrame without saving that uploaded. it will works well fine when I will save the file into server, but don't want to save the file and I have to save the file path into XML.
So how can we assign 'src' of I Frame so that without saving the file..
Following code work well when I was displayed file into IFrame after saving it.
Is there is any method through java script you know?
.cs file
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs e)
{
string path = System.IO.Path.Combine(Server.MapPath("~"),FileUpload1.FileName);
FileUpload1.SaveAs(path);
myIFrame.Attributes.Add("src", FileUpload1.FileName);
}
.aspx file
<asp:fileupload id="FileUpload1" runat="server">
<asp:button id="Button1" runat="server" text="Button" onclick="Button1_Click">
-- modified at 2:07 Friday 23rd November, 2007
|
|
|
|
|
Vishnu Narayan Mishra wrote: So how can we assign 'src' of I Frame so that without saving the file..
You can not. The SRC needs a file to load. And with security restrictions of loading across cross domains, it ought to be from the same domain/webserver.
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
|
|
|
|
|
Vishnu Narayan Mishra wrote: I there is any metho through java script
I don't think so. You can't load files to IFrame which is stored locally on users system. Have you tried getting the IFrame object through JS and setting the src with the file name specified ?
|
|
|
|
|
Yes i tried through java script
function ShowPreview()
{
document.getElementById('htmlPreviewIFrame').src = GetClientSideControl(document, 'FileUpload').value;
return false;
}
but it will work when the file exist in the web server project folder, i.e. in my project folder.
|
|
|
|
|
Vishnu Narayan Mishra wrote: GetClientSideControl(document, 'FileUpload').value;
Can you show the GetClientSideControl() function ?
|
|
|
|