|
ashishnagar1 wrote: i have to Integrated outlook 2003. with my .net application
Integrating outlook to .NET means ?
ashishnagar1 wrote: and send notification e-mail to user
Do you mean sending mail to user and opens that from pickup folder ? I think this will open in outlook window.
|
|
|
|
|
hi all
i am developing application asp.net 2.0 and use usercontrol
but i have problem with control checklistbox and DropDownList
my problem i have two usercontrol
the fist usercontrol contain checklistbox controls and in the function Page_Load (usercontrol) i fill data to checklistbox
the second contain DropDownList controls it is null
and in my page defaulf.aspx have function load dynamic controls
Control ucl = null;
string strType = typeControl.Value;
switch (strType)
{
case "1":
ucl = LoadControl("Tool/fistusercontrol.ascx");
break;
case "2":
ucl = LoadControl("Tool/secondusercontrol.ascx");
break;
}
divControlLeft.Controls.Add(ucl);//divControlLeft is tag div
When the fist load fistusercontrol.ascx is okay but when i choose secondusercontrol.ascx but in this secondusercontrol i dont fill data for DropDownList into usercotrol but it contain all data of checklistbox
I dont understand ???
|
|
|
|
|
hi friends
In window authentication how to connect the sqldatabase.
regards
saravana
|
|
|
|
|
i think two parameters are enough
database
server
Sonia Gupta
Soniagupta1@yahoo.co.in
Yahoo messengerId-soniagupta1
Love is Friendship and Friendship is Love....
|
|
|
|
|
both protected internal and internal keywords are accessible in the current project.Can i find out the difference in their accessibility in the current project.
Sonia Gupta
Soniagupta1@yahoo.co.in
Yahoo messengerId-soniagupta1
Love is Friendship and Friendship is Love....
|
|
|
|
|
internal means visible in the current project. I thought protected internal means visible only to derived classes within the project.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
r u preparing for interview Kyaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Piyush Vardhan Singh
Programmer
TAS NewDelhi
India
|
|
|
|
|
How can we enforce server to open a confirm pop up window just 4 min before
before expiration of session of a user
,if user select "OK" session time shall increment
Like :
Your session is about to expire
do you want to extend?
OK--||---No
If user select "OK" session time shall increment
if user select "NO" session shall expire
NOTE: POP up should open from server not using from with in the window
thanks
guru
|
|
|
|
|
Doesn't the session time out based on inactivity ? So as soon as the server does something, the session timeout is reset. But, your server cannot send anything to the client, the client has to request it. An obvious way is to have a timeout in the page that brings up a popup, clicking yes does a postback, thus persisting the session.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
hi i am rightnow building a chat application using asp.net 2.0and i am having this problem When a user sends a request using chat application to another user how will the server sends the response back to the other client that another user wants to start a chat session or wants to start a private chat or is inviting him to join a different room by opening a server enforced information pop up window
regards
Harry
|
|
|
|
|
harryforum wrote: that another user wants to start a chat session or wants to start a private chat or is inviting him to join a different room by opening a server enforced information pop up window
Not much idea, but a wild guess. You need to use XML file for communication. Both users should listen to same XML file frequently. Server can put popup command in this file. If client is getting that popup command from XML file, it should popup a new window. I hope you can expand this idea to a working model
|
|
|
|
|
u use any server for chat
Piyush Vardhan Singh
Programmer
TAS NewDelhi
India
|
|
|
|
|
You can't send the client anything, the client has to request it, so you need to either have a page that constantly refreshes itself, or a page that makes constant AJAX calls.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
error : [System.Threading.ThreadAbortException] = {Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack.}
when i use following code :
System.Web.HttpContext.Current.Response.OutputStream.Write((byte[])dsGetFileInfo.Tables[0].Rows[0].ItemArray[6], 0, int.Parse(dsGetFileInfo.Tables[0].Rows[0].ItemArray[0].ToString()));
its urgent .
thanks .
|
|
|
|
|
I m expecting to know exactly what output you want i will be providing the solution
contact me at:
chetan.patel@rigelnetworks.com
Best Regards,
Chetan Patel
|
|
|
|
|
The first step when your code is this messy, is to break it down into many smaller pieces of code, so you can work out which one has the problem.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Christian was right.
That method name is OOP ( Object Oriented Programming ).
|
|
|
|
|
I don't think OOP is the point here, he doesn't need an object, just better structured procedural code
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Dear All,
I am using asp.net2.0, C#, sql2005 using Visual studio 2005
Let Me explain the scenario I have checkboxlist containg 15 field. Based on no of checked field . I created dropdownlistbox and label dynamically through loop and assign id as dropdownlist + no of iteration. Now my question is how I access these control as when I am accessing one of the control I am getting nullobjectreference error stating “Object reference not set to an instance of an object.”I created control as
Foreach(listitem)
{
//…….
Label label = new Label();
DropDownList dropdownlist = new DropDownList();
//assinging id
label.ID = "label" + i.ToString() ;
dropdownlist.ID = "dropdownlist" + i.ToString() ;
}
And I am accessing it through
cmd.Parameters.Add("@para1", SqlDbType.VarChar).Value = Page.FindControl("label1").ToString() ;
cmd.Parameters.Add("@value1", SqlDbType.VarChar).Value = Page.FindControl("dropdownlist1").ToString();
and my second question is how do i access selected value in dropdownlist1(dynamically created control)
Please guide me
Thanks
imaran khan
|
|
|
|
|
Chetan Patel Sai Soft wrote: ask me directly to
chetan.patel@rigelnetworks.com
Spamming or Advertising ?
|
|
|
|
|
Your main problem is that if you don't add your controls bfore the page load event, viewstate will not be restored and so you don't be able to get the selected values as tehy won't be set in the code behind for you.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
how to run (asp.net with C#) website using IIS
|
|
|
|
|
You must have to install .net Framework (appropriate version)
And have to install front page extension server
Best Regards,
Chetan Patel
|
|
|
|
|
<% If (Request.Form("Submit1") = True) Then
Response.Write("Hi")
End If
%>
<title>Untitled Page
i got the error at runtime
Conversion from string "" to type 'Boolean' is not valid.
please help...
Sonia Gupta
Soniagupta1@yahoo.co.in
Yahoo messengerId-soniagupta1
Love is Friendship and Friendship is Love....
|
|
|
|
|
YES, see Submit1 is empty and you cannot convert "" into a boolean.
Mubashir
Software Architect
Storan Technologies Inc, USA
Every job is a self portrait of the person who did it.
|
|
|
|