|
use single quotes
'<% %>'
Best Regards
3ala2
|
|
|
|
|
Hi.
I use framework 2.0
how to build dll file for code bihind page in BIN folder?
Pathan
|
|
|
|
|
How to get the click event in TextField
|
|
|
|
|
write below code in page init section
Private Sub Page_Init(........)
Me.TextBox1.Attributes.Add("onClick", "alert('Hello')")
Parwej Ahamad
http://parwej.spaces.live.com
|
|
|
|
|
when i create file in wwwroot directory then following error occurs but not in c:\\ path.
Exception Details: System.UnauthorizedAccessException: Access to the path 'c:\inetpub\wwwroot\Prakriti\deepak.txt' is denied.
ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true">, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.
To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.
Source Error:
<br />
Line 41: <br />
Line 42:
Line 43: FileStream fs = File.OpenWrite(Server.MapPath("deepak.txt"));<br />
Line 44: StreamWriter sw = new StreamWriter(fs);<br />
Line 45: <br />
deepak
|
|
|
|
|
After i set this
<system.web>
<pages enableviewstatemac="false">
in web.config i also get the error like "The View State is invalid for this page and might be corrupted"
Any idea to eleminate the error?
AdvancedThanks
Srilakshmi
|
|
|
|
|
srilu nagalla wrote: After i set this
in web.config i also get the error like
after what ?
i think there is nothing written ?
"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
coolestCoder
|
|
|
|
|
i set enableviewStateMac="false" in web.config
|
|
|
|
|
Hi,
Please take a look at this[^]
This property checks whether view state is tampered with or not.
Hope this helps.
"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
coolestCoder
|
|
|
|
|
Dear Concerned,
I have a problem while running my project in Mozilla.
The problem is when I select the file by using input file control of HTML 7 I press the save button,then my program is unable to get the selected file from the file control.
I want to save the selected file in a new folder/directory in my current project directory.Directory to save file is "temp_images".
The error comes : Could not find the file "C:\WINNT\system32\btn_tell0.gif"
My code to copy the file is as follows:
string temp_file = date+"_"+time;
string newfile = temp_file.ToString()+FileExtension;
System.IO.File.Copy(path_from,Server.MapPath
(@"PhotoGalleryComponent\temp_images\"+newfile));
Please guide me in the form of code to get the selected file & save in a new directory for mizilla.
Thanks
Fasih
fasih_is_my_signature
|
|
|
|
|
Dear Concerned,
I have a problem while running my project in Mozilla.
The problem is when I select the file by using input file control of HTML 7 I press the save button,then my program is unable to get the selected file from the file control.
I want to save the selected file in a new folder/directory in my current project directory.Directory to save file is "temp_images".
The error comes : Could not find the file "C:\WINNT\system32\btn_tell0.gif"
My code to copy the file is as follows:
string temp_file = date+"_"+time;
string newfile = temp_file.ToString()+FileExtension;
System.IO.File.Copy(path_from,Server.MapPath
(@"PhotoGalleryComponent\temp_images\"+newfile));
Please guide me in the form of code to get the selected file & save in a new directory for mizilla.
Thanks
Fasih
fasih_is_my_signature
|
|
|
|
|
HOw can i bind the text from a textbox control to the image using javascript.
|
|
|
|
|
hi there....
This is the code defaultly i'm having in sample.aspx file..[ html view ],
<%@ Page language="c#" Codebehind="sample.aspx.cs" AutoEventWireup="false" Inherits="Demo.sample" %>
I converted this sample.aspx.cs file into sample.dll file successfully. Now how should i write(include) the page directory in sample.aspx file, and what are the steps to upload this sample.dll file in remote server..
Please Help me...
regards n Thks
Sam.M
|
|
|
|
|
Hello
I want to create chat application for customer support and it should be individual for every customer.
Please,Give me right solution
Imrankhan
-- modified at 2:04 Tuesday 7th November, 2006
|
|
|
|
|
|
Safecom wrote: Pa Khir Pukhtoona.
which language ??
"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
coolestCoder
|
|
|
|
|
|
Hi,
Do you want to use some standard application like MSN, yahoo, etc...
or want to build one for your purpose only ??
"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
coolestCoder
|
|
|
|
|
i want to build for my purpose.i have already used yahoo but in this case customer must have installed yahoo messanger otherwise he/she cant chat with us.
As per my requirement,
whene Customer will login for chatting then alert message will apear on my computer and then i can chat.
Pathan
|
|
|
|
|
imrankhanpathan wrote: i have already used yahoo but in this case customer must have installed yahoo messanger otherwise he/she cant chat with us
If you build your own application, then this app needs to be installed on client machine. If you dont want to send some app to client side, just build a web application where all client log in and can send messages ? (just a suggestion).
hope this helps.
"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
coolestCoder
|
|
|
|
|
Hi.
Thanks 4 your advise,
but also i have made chat web application but i have some problem in this app
1.I cant get alert message when client want to get support
2.One client can read message of onether client if other will login in.
3.message is not refresh if client logout from there or message is not deleted from there if app will be closed .
pathan
|
|
|
|
|
Hi,
I think you will need windows applications for the problems you are facing. It would be very difficult to design some web application. You can create a Web service and write client of the same service. This application will simply transfer data from one client to you or vice versa. Using a Web Service between will enable some flexibilty. You can design protocol for your application.
This would be a better solution. Along with this web service you can even create a web application where you can provide facility to download your chat application.
hope i am clear !
"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
coolestCoder
|
|
|
|
|
How Can we configure icon Files to asp .net web applications using C# Codebehind confused: :
|
|
|
|
|
How Can we configure icon Files to asp .net web applications using C# Codebehind confused: :
|
|
|
|
|
I think this is an easy question.. (2nd try)
I have a DataList displaying data from a ObjectDataSource and below that an input form that inserts data into the same table. When the user clicks submit, upon postback the DataList is showing the data prior to the submit.
How do I refill the data on postback?
Id post some code but filling of dataset and databind is 2005 "magic".. here is the code Im using in the ButtonClick function:
NewsDataSetTableAdapters.CommentsTableAdapter commentsTable = new NewsDataSetTableAdapters.CommentsTableAdapter();
commentsTable.Insert(newsID, subjectTextBox.Text, commentTextBox.Text, ipAddress, DateTime.Now, emailTextBox.Text);
|
|
|
|