|
|
Hello
Dear Michael
I'm a professional desktop developer (C# base), but in sending mail, i really confused.
I developed a website for somebody and i'm in final step.
As you said and in this way anybody can send email from anybody to anybody..!
I want to say that: Do i need username, password and real host name or not?
I tested this code and i saw no mail in my inbox. Please notice that i made no change on your code.
So please help me again if you have time.
Tanx
|
|
|
|
|
Hi,
freshonlineMax wrote: Do i need username, password and real host name or not?
You need to define the host name, the SMTP server.... In ASP.NET, you can use either System.Web.Mail or System.Net.Mail for sending emails.. but defining the SMTP server is a must in ASP.NET...
The name of SmtpServer are vary from one host to another.. When I was hosting my site in DisccountASP.NET, I can use "localhost" as the SmtpServer... here is the article from DiscountASP.NET Knowledge Base.
|
|
|
|
|
freshonlineMax wrote: What is smtp server? What is host name?
Your web host is the best contact to give you the optimal values for these queries for your domain.
Vasudevan Deepak Kumar
Personal Homepage
Tech Gossips
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
|
|
|
|
|
Hi All
I have an ASP.Net TreeView with checkboxes, so I am looking for a code that will UNCHECK all checked checkboxes on a click of a button.
Thank you in advanced.
khuzym
|
|
|
|
|
|
I'm using a CAPTCHA image generator from Code Project and would like to wrap this in to a web control.
So I was wondering what's the best way to display a dynamic image from a memorystream? Currently I'm setting the img src to a handler which works fine. But the handler needs to be a servable page and can't be wrapped in to a control dll. I'd prefer not to write the image to a temp directory. Is there an alternative or a nifty trick like putting the handler in as a resource in the dll?
|
|
|
|
|
|
Ehhh, I'm already using a httphandler (ashx). That's the problem, you can't wrap an ashx page in a web control dll. It has to be a servable page on the actual website.
The point of my question is how to achieve this functionality within a seperate web control dll.
|
|
|
|
|
Hi,
I have a page that is pretty complex, i.e. it has a table with lots of controls, everything generated from data in a database. Each row contains among others a DropDownList, and when certain items are selected in that dropdownlist, the rest of that row should be disabled. The rest of that row contains text boxes, drop down lists, and a few validators. The number of controls is dynamic.
What would be the best way to accomplish this? What I've got so far is:
- a onChange attribute for the dropdownlist,
- a javascript function which gets called in the onChange event handler
- this function correctly determines if I should enable or disable the rest of the row
- ... and then calls getElementsByName to get an array of elements that should be enabled/disabled.
But this is where I stop, since getElementsByName doesn't return anything. If I specify a name attribute for the controls that should be enabled/disabled, it won't render to the page since ASP.NET will override my setting with the id of the control. I could probably create a subclass of TextBox and DropDownList, and modify their RenderAttributes( ) function, I just haven't gotten to it yet. Is there an easier way?
Even if I succeed with that, I still have the problem of disabling the validators for the controls that should be disabled. Is there some easy way to accomplish that? I found http://www.codeproject.com/useritems/ASPNET_Validation_Tamed.asp[^] which talks about similar solution, but am I missing something completely obvious? I'm aware of the fact that I could set the AutoPostBack property of the DropDownLists to true, and handle the change events server side, but I would rather do it client side just to minimize server load. But then again, if I must use server side I probably will.
So anyway, any help or hints whatsoever would be highly appreciated.
Regards,
Daníel
Wenn ist das Nunstück git und Slotermeyer? Ja! Beierhund das oder die Flipperwaldt gersput!
|
|
|
|
|
Hi,
I need to stream videos from youtube to my webapplication dynamicaaly...
I done with static.But my need is different.now i am briefly explain the details...
I have different products.all the products have differenet videos.(all the product details are entering in admin side including the movie tag which are stored in a table SQLSERVER2000 DB)
I shown the products in different images.while clicking the products details are displayed in another page.There is a button to watch the movie.while clicking the button the corresponing movie want to stream.while the user select the products,it shows all the details with a button to watch movie(all are comes under user side),only the corresponding movie want to run..videos are uploaded in youtube...all the products movie want to stream in the same page..My problem arises here..i can now stream only one movie,if i give the corresponding object tag.How dynamically stream the videos based on the choice without multiple buttons???Please help to solve...
i cant know how to embed object tags(movie tags )dynamically....If knows Please share me...
Thanks & Regards
Bijesh
|
|
|
|
|
Sorry. I forget your last post...
Steps:
1. Add one button and one Literal control.
2. In Button_click
2.1. Get the completed embed object tag from database depend on the parameter
2.2. Set the string to Literal1.Text (e.g. Literal1.Text = @" EMBEDDED TAG FROM DATABASE"; )
That's all.. Let me know if you are not clear
|
|
|
|
|
Hi,
Please Explain some more...if am taking object tag from database and assigned to Literal.How is the movie working?If I need to assign only the object tag to Litteral.am i correct?
Thanks
Bijesh
|
|
|
|
|
bijeshputhalath wrote: assign only the object tag to Littera
Yeah. You need to assign the object tag to Literal.... then, the movie player will be shown in your page. So, the user can click to play the movie...
|
|
|
|
|
Hi Michael,
Thank You for Your Help.Now it is Working fine...But Loading Takes time..
Regards
Bijesh
|
|
|
|
|
Hi,
I am having a datagrid with 3 bound column and two hyperlink column.I need to set the navigateurl of both the hyperlink column dynamically depending on the row in which the user has clicked the hyperlink.
Please give me an idea atleast in which event the code has to be written.
Thanks,
Srikanth
|
|
|
|
|
Why don't you set the navigateURL while populating the Datagrid? Any different??
|
|
|
|
|
i need to set the url with 3 parameters(Querystring) whose value need to be taken from datasource.
This three parameter value depends on the row in which hyperlink is clicked.
Now my doubt is how should i frame the navigateurl with the Eval() method.
Thanks,
Srikanth
|
|
|
|
|
hi.
i am creating a excel sheet ..here i am exporting the total data from Datgrid to excel..it is working fine but if any linkbuttons or hyperlinks(like paging or edit buttons) in the Datagrid ...then it is giving the error..
how can i create the excel
|
|
|
|
|
|
I have used the SlickUpload in my project,But there has a problem Which I can not figure out.
The Problem is I have also used FckEditor Control which has a function that allow me to upload image into the Editor in my project.but the HttpPostedFile was used to upload image by FckEdtitor.Now the HttpPostedFile is conflicting with the Slickupload.How Should I to do with this?
And because the FckEditor use a html page's form to post data to the HttpPostedFile.Can Slickupload get the data too?
Thanks for help!
MSN:wanlim0817@yahoo.com.cn
|
|
|
|
|
following namespace not found :-
Microsoft.Office.Interop.Excel.ApplicationClass
Gaurav
|
|
|
|
|
Add the dll reference Microsoft Excel 11.0 object library and namespace using System.Excel
Thanks,
Srikanth
|
|
|
|
|
creating and saving excel work sheet at runtime
Gaurav
|
|
|
|
|