|
is it throwing any error message... how do you say that it is not working.....
|
|
|
|
|
I don't see any code to commit the transaction ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
If i have a link on my wap portal where if the user clicks it an sms is sent from the handset to a specific destination. Is this possible. I want to do this instead of asking the user to manually send an sms with the request.
N.B.
it must be sms for billing purposes.
THX
|
|
|
|
|
I have developed a website for listening mp3 songs. But i should give option to download MP3 songs when visitors click Download button. How can i do it?
|
|
|
|
|
Just write the code to set the content type and then send the bytes of the file. Or just have a link that users can right click on to download.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
it`s very easy friend
the work you must do is just to give the visitor the path of that file !
for example if you have button that visitor clicks that to download file you do this on button_click :
protected void btn1_Click(object sender, EventArgs e)
{
Response.Redirect("~musicsfolder//music.mp3");
}
|
|
|
|
|
It's better if you do this without calling the click server event. If you create the link dynamically you can set the "href" attribute on page load and that's it.
Who are you and why should I care?
|
|
|
|
|
I have created a new intranet application that has been installed in a server (http://myserver:135). For ease of use for the users, a proxy URL (like http://www.company.com/myapp) has been created and shared with the user.
If I access the server URL (http://myserver:135) directly, everything is good. But, when I access the application through the Proxy URL, I get a java script error. The error seems to be because of the use of Ajax in the application " Sys.Application.initialize(); throws error <Sys is undefined.>".
I tried different solutions mentioned in various forums. But nothing helped.
Upon reviewing the error, the server administrator wrote to me -
"it sounds like a pathing issue with the application and the reverse proxy.
The applications (through the proxy) are under a subdirectory, if you have any logic that references the top level (/) you would see that AJAX error.
Make sure you have no code referencing /XXXXX you should take out the opening slash."
I'm trying to understand what this means. Can anybody please help?
|
|
|
|
|
I am trying to get keyboard and mouse hooks. I am able to install hooks in my system and also get the hooks. But i am trying to get hooks from a particular application, so is there any way to get it or it is possible that when i am installing the hooks then i am able to install for a particular application only.
I am using the following url as a sample application.
http://www.codeproject.com/KB/system/globalsystemhook.aspx
Global System Hooks in .NET[^]
Please help me..
thanks
|
|
|
|
|
You seem hopelessly lost. You should ask in the article, or at least, in the right forum. You cannot write a keyboard or mouse hook for ASP.NET
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
can you tell me on which forum i have to post it, so that i can get the answer. I am developing a windows application using C# and in this i am able to install hooks for all applications and also able to get hooks but i want it only for a particular application.
|
|
|
|
|
avika wrote: I am developing a windows application using C#
The C# forum seems a reasonable guess then.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
okk... thanks for ur reply...
|
|
|
|
|
hiii..
i want to popup a panel on clicking on a link button.
can anybody give me idea how to do this.....thnks in advance.
how to use popup extender for this thing.
|
|
|
|
|
Here is an Example of ajax ModalPopupExtender:
<asp:LinkButton ID="btnShowMore" runat="server" ForeColor="#505050" Text="View More" />
<cc2:ModalPopupExtender ID="ModalPopupExtender" runat="server" TargetControlID="btnShowMore"
PopupControlID="popupPanel1" BackgroundCssClass="modalBackground" DropShadow="true"
CancelControlID="btnClose" />
<asp:Panel ID="popupPanel1" runat="server" Style="display: none" class="popupPanelStyle">
<asp:Button ID="btnClose" runat="server" Text="Close" />
</asp:Panel>
|
|
|
|
|
thanks it solved my prob...
|
|
|
|
|
Any time.
|
|
|
|
|
hi sir,
please help me
actually i have a crystal report.it's working fine. but problem is that the toolbox button of crytal report is not working fine .i mean print,export button is not working.
actually on user data form i have a button after clicking on this there will be new form open in which the crystal report will display.and on button click of user data form i have following code
ReportDocument orpt = new ReportDocument();
reportpath = Server.MapPath("infotechstandards.rpt");
orpt.Load(reportpath );
orpt.SetDataSource(rgsd.show_for_print(uin, IcodeLst));
orpt.SetParameterValue("@uin",uin);
orpt.SetParameterValue("@icodelst", IcodeLst);
orpt.PrintToPrinter(1,false , 0, 0);
Session["report1"] = orpt;
Response.Redirect("crystal_report.aspx");
and crystal_report form contain following code:
protected void Page_Load(object sender, EventArgs e)
{
if (Session["report1"] != null)
{
ReportDocument crReportDocument = (ReportDocument)Session["report1"];
CrystalReportViewer1.ReportSource = crReportDocument;
}
it's working fine but only toolbox (print button,export )is not working.
please help me.
|
|
|
|
|
hi sir
please help me for this.
|
|
|
|
|
I can able to store & retrive images from sql DB. I can get filename with extension using File Upload Controls. But i can't able to get file name with extension when video file path is given as input to FileUpload. How i can get video file path using FileUpload?
|
|
|
|
|
um.... the filename passed to a FileUpload control, has the extension, it just doesn't have the path.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
I need only filename & extension of the video file using FileUpload control.
|
|
|
|
|
kavinnagarajan wrote: when video file path is given as input to FileUpload. How i can get video file path using FileUpload?
Why do you need the path ? Just use SaveAs() method to upload the file on server.
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
I have to store filename & extensions only into sql DB. Not the full videos.
|
|
|
|
|
You're making zero sense. You are GIVEN the filename, including the extension, from the upload control. So, what is the issue ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|