|
A week later, no replies - I guess I should take that as a "no" then.
|
|
|
|
|
Hi everyone
I've tried to write a very simple mail client using ASP.NET 2.0 but i have a problem.I installed a free SMTP server tool on my computer (laptop) and it worked if i use Internet connection at my company.However i can not send any email at home.I use another ISP at home.I dont understand whether ISP concern?i turned off the free SMTP server and use SMTP virtual server of IIS then it did not generate any error but i can not received any email even in bulk.By the way can anyone tell me how to use SMTP server of Gmail?Thanks in advanced
|
|
|
|
|
I am trying to create a simple control that inherits from class CompositeControl. There are 3 controls: a checkbox, a third party datepicker and a validator. The idea is to require the user to select a date if the user causes the checkbox to be checked. If the checkbox is not checked then the code clears the datepicker.
The problem I am running into is with the id given to the datepicker. I named it "DatePicker" and if I call the composite control "Composite" on the Web form then when I run without the validator I can see from the source that on the client side the control is given an id of "Composite_DatePicker".
If I add the validator and point it to "Composite_DatePicker" I get an error message saying that there is no control called "Composite_DatePicker". How do I get around this?
|
|
|
|
|
Have you set the Id property of all the controls.
And make sure you call the method EnsureChildControls() before any validation or condition.
And write all the code for creating the control in CreateChildControls() method.
Deepak Surana aka. ~deeZ
|
|
|
|
|
I am using PUSH method to view data by crystal report. but i trying to export data in any format (i.e PDF) then i m getting error .. Logon fail
i dont know why this is happening ..
any suggestion please
thanks in advance
|
|
|
|
|
hello every one
i want to make message board in my web application and want idea about it`s design
thanks in advance
|
|
|
|
|
The core idea is pretty simple. If you want ideas as to how it should look, just browse the web for ideas.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
I am confused that in case of asp.net application, why we manage different projects in a same solution . Even classes, Events and properties can be defined in the same project, so why we create it in a seprate project and make common namespace for whole solution.
for eg.--->
In asp.net application--> few classes in one project --> few classes in another project --> in the same solution--> in the same namespace.
|
|
|
|
|
Because professionally written applications seperate the middle tier from the presentation layer, and the data layer is a seperate abstraction again.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Sir,
Can i want to use treeview in asp.net 1.1 .But treeview control does not exist in asp.net 1.1. I am getting the dll from the websites but it is for trial period only.
Please help.
|
|
|
|
|
I'm not sure what you want here. There is no treeview in 1.1, there are components you can buy, until you pay, they only give you a trial. There may be free ones, you need to look and see.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Sir,
I want to select the text in the textbox after postback.
with the following code i am able to put the curson in any textbox.But cann't select the text in the textbox after the postback.
Please help.
Public Function SetFocus(ByVal FocusControl As Control) As String
'Setting focus to supplied control
Dim Script As New System.Text.StringBuilder
Dim ClientID As String = FocusControl.ClientID
'Building java script
With Script
.Append("")
.Append("document.getElementById('")
.Append(ClientID)
.Append("').focus();")
.Append("")
End With
Return Script.ToString()
End Function
From your aspx form call that function to set focus on your textBox
'set focus
RegisterStartupScript("setFocus", Utilities.SetFocus(txtName))
|
|
|
|
|
document.getElementById('textbox').select();
regards,
g00fy
|
|
|
|
|
Hi,
I want to secure my application, so that user may not type the name of a page in the browser and go to certian page.
And also that there is some history stored in the browser, so user should not use that history (eventually which is auto fill also) to go to a certain page using those old querystrings.
can you please suggest me a way out.!!
Thanks in advance.
Deepak Surana
|
|
|
|
|
You can write your app so it always posts to the same URL, and displays different controls/pages based on viewstate, so there is also nothing on the URL.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
How can this be done.
It would be great if any code snippet is provided for help.
|
|
|
|
|
hi,
i want to clear the history (the back button history) of the browser.
can it be done by either ASP.Net or Javascript.
please provide me the code for the same.
Thanks in advance.
Deepak Surana
|
|
|
|
|
You can't do that.
--------------------------------------------------------
My portfolio & development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
Im using asp 2.0 and I want to use thier new postback methods to populate dropdowns without postbacks. When a user selects a value from one dropdown, it repopulates the other dropdown. Can i have some help and ideas on how best to achieve this?
|
|
|
|
|
I think that you are not using ASP 2.0 at all, but ASP.NET 2.0. I Also think that you mean a Javascript array, not a Java array.
Use the Page.ClientScript.RegisterArrayDeclaration method to register an array in the client script.
The method doesn't populate any dropdown for you, though. You still have to write the client script that uses the array to populate it.
---
b { font-weight: normal; }
|
|
|
|
|
Hi,
I am confused that in case of asp.net application, why we manage different projects in a same solution . Even classes, Events and properties can be defined in the same project, so why we create it in a seprate project and make common namespace for whole solution.
for eg.--->
In asp.net application--> few classes in one project --> few classes in another project --> in the same solution--> in the same namespace.
nikki
|
|
|
|
|
Friends
Suggest Some Business Domain For me to Develop in Asp.net.Lut us Make it Difeerent And Intresting. i prefer Online Domains
NIJU C
|
|
|
|
|
Hi,
Ive created a WebSerive Transactions. in webservice i have a class CardInfo.
I like to use this class in the caller. Even adding refernce i havent got the cardInfo class on the client. Do i need to set any attributes
|
|
|
|
|
|
I would like to call a javascript method when the user changes the URL in the browser's address bar, it should be another domain and not the other domain. The scenario is that in our application, there are some external links available. If they click on that, it will load the external URL. The method should not be called when they click these hyperclicks. Method should be called only when they type in the address bar.
|
|
|
|