|
Socheat.Net wrote: I want to send email to employee in company but don't want to use email server,
You can't. You need a mail server to send email.
|
|
|
|
|
I dynamically add a usercontrol (UC1) which adds another usercontrol (UC2) dynamically and i have a button in UC2 which is supposed to fire a click event. When i press the button it does not fire the onclick but when i just add UC2 directly it works. Any ideas? Oh also UC2 has an updatepanel inside of it.
|
|
|
|
|
if it is an emergency on your part. In fact, people will ignore it if you put such labels on your messages.
Blog link to be reinstated at a later date.
|
|
|
|
|
Please try to write a subject line that has any relevance to the question. Any information about how urgent the question should definitely not go in the subject line, as it never is that urgent. If it really was so urgent you wouldn't ask in a public forum, you would just pay soneone to do it.
You have to add the user controls again in every postback, otherwise the event isn't wired up to anything.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
hi frndz...
can sm1 pls tell me how will i be able to use or import an html web template in asp .net?
with thnx...
Tarun Suneja
|
|
|
|
|
Are you familiar with asp.net master pages?
Intelligence is almost useless for those who have nothing else!
Email: caiokf@gmail.com
|
|
|
|
|
ya i am familiar to master pages but actually i am having an html template
i want to use it in asp .net
can u pls tell me the procedure
or some useful links
|
|
|
|
|
What is the best way to avoid connection, or thread pool limitations for my application? And am I doing it correctly?
I'm designing my own chat. It's necessary because my design is very different from any available out there. Because of the new security features in IE I can't use a different server than my website server for processing chat requests. I'm forced to combine my web app with my chat server.
So, my plan was to use ajax to make a page request. The page would then use asp.net 2.0's asynchronous pages feature to start a new thread and release the Thread that processes page requests. Then my plan was to have the thread wait until a new message comes in if I have no messages to send to the client immediately.
My two main uncertainties are this:
1) How do I best wait for new messages? Should I use a wait and notify? Should I use a WaitHandle(never used it before). Will I run out of threads in the thread pool from using these methods because they block? Is there a way to wait and release the threads at the same time?
2) Is there a limit on the number of connections that can be made to a web server. I want every client on my website to be able to receive notifications of new chat messages immediately, without polling. So, am I doing it right or should I use some sort of callback method that doesn't keep a connection open. is that possible???
|
|
|
|
|
DataTable tbl1 = dt.filltbl("select * from tbl_issue_type where id=-1", "new1");
DataRow row1 = tbl1.NewRow();
row1["issue_type"] = txt_issue_type.Text;
tbl1.Rows.Add(row1);
dt.update(tbl1, "select * from tbl_issue_type");
Page.RegisterStartupScript("myrest", "<script>alert('New issue was added successfully');</script>");
Page.RegisterStartupScript("myqd", "<script>window.opener.location.reload();</script>");
Page.RegisterStartupScript("abc", "<script>window.close();</script>");
window.opene.location.reload(); not work in my pge
actually i want to refresh my dropdown list box item after add button click my above return code is work and add new entry in database and after that i want that new value show in my dropdown list box.
I will do my best?
Integrated Solutions, Bikaner (Raj.), India
|
|
|
|
|
Hi,
why don't you use an update panel and do it from server side?
Intelligence is almost useless for those who have nothing else!
Email: caiokf@gmail.com
|
|
|
|
|
how i use update panel on this because when i click on link button a new window open through javascript and when form is return from close i want that in my drop down new value should be store?
please tell me how to do this? using ajax or any thing else
thanks for reply.
I will do my best?
Integrated Solutions, Bikaner (Raj.), India
|
|
|
|
|
Tell the browser to load the page from the server, not just reload it from the cache:
window.opener.location.reload(true);
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
To display this page, Firefox must send information that will repeat any action (such as a search or order confirmation) that was performed earlier.
this information is shown in confirm box when i use as u suggest.
two buttons are there resend and cancel.
what to do now?
I will do my best?
Integrated Solutions, Bikaner (Raj.), India
|
|
|
|
|
Ok, then you need to post a form to the page to recreate it. Does the page have a form that you can use for this?
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
I think you are using AJAX on this Page.Please register the javascript event with scrip manager as
ScriptManager.RegisterStartupScript(this.Page, this.GetType(), this.ClientID, "ShowMessage();",true);
Cheers!!
Brij
|
|
|
|
|
why you are not using __doPostBack insted of window.opener.location.reload();
hope this thing help you
Mohd Azharuddin Ansari
Syntel Pune
|
|
|
|
|
Hi all,
I am trying create a websetup project for my website. My requirements are
1. I have to check whether SQL Server 2005 is exist in the Client System . If not exist, the setup should terminate.
2.Registration key validation, for that I have to generate a key1 this will be shown in registration form(in label) to user, then user have to enter key2(In a text box). I have to validate the key2 entered by the user.
3. Providing desktop short cut icon. If user clicks on icon, it should open home page of my website.
4. Providing Programs menu shortcut, functionality same as above 2.
5. After copmpletion of installation, i have to show Reade document by providing Button[ReadMeFile] ,if user hits this button i have to open the ReadMe Document.
6. I have move My DataBase files(.ldf &.mdf) to directory [Program Files]\Microsoft SQL Server\MSSQL.1\MSSQL\Data , I have to change the Connection string of my web.config page.
7. I heve to Insert Some values into DataBase table.
8. If any thing fails, i have to roll back/uninstall all files.
Please suggest me how to do websetup for above my requirements.
Thanks in advance.
modified on Thursday, September 25, 2008 3:33 AM
|
|
|
|
|
Sounds like someones homework gone wrong again.
I don't think you are even sure what you are doing.
- You do NOT deploy a website to a users PC, you deploy it to a web server such as IIS.
- The database should be on the server, not the users PC.
- A web site doesn't have licences etc.
Take your homework back and clarify your requirements, then do it.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Could you please help me in doing websetup for my above reuirements.
|
|
|
|
|
No, for the reasons I've already stated, or to put it even more simply, IT CAN'T BE DONE.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
i have given a search option in my web page, i'm opening new window to display the calender control..
My problem is When i close the Main window the calender control window is still opened..
how can i close the child window, when the parent is closing...
this im using to check the closing of browser
var requireConfirm = true; <br />
<br />
window.onbeforeunload = function()<br />
{<br />
if(requireConfirm)<br />
{<br />
<br />
}<br />
}
if the calender window is opened i need to close that window before exiting the browser..
please help me asap..
thanks in advance
skvs
|
|
|
|
|
Open it in a modal fashion?
|
|
|
|
|
hi Paddy Boyd..thanks for reply.
this is how im opening it...
window.open('Calendar.aspx','calendarPopup','titlebar=0,left=470,top=100,width=300,height=225,resizable=0, toolbar=0,menubar=0,location=0, directories=0');<br />
Can u suggest me how to open it in a modal fashion.. so that when parent window is closed, the Calender.aspx window should also be closed..
|
|
|
|
|
http://javascript.about.com/library/blmodal.htm[^]
function modalWin() {
if (window.showModalDialog) {
window.showModalDialog("xpopupex.htm","name",
"dialogWidth:255px;dialogHeight:250px");
} else {
window.open('xpopupex.htm','name',
'height=255,width=250,toolbar=no,directories=no,status=no,
menubar=no,scrollbars=no,resizable=no ,modal=yes');
}
}
Venky
|
|
|
|
|
skvs wrote: Subject:Hi..
That is not the proper subject of your question.
cheers,
Abhijit
Think Sharp | Code Sharp | C Sharp
|
|
|
|