|
hai
thanks for the reply.
Is it possible using hidden field?
|
|
|
|
|
ganeshMohan wrote: Is it possible using hidden field?
Yes.
---
single minded; short sighted; long gone;
|
|
|
|
|
hai
please give me a example code?
|
|
|
|
|
Hi all,
I am having static data and this data is displayed in html table using Javascript. Now I want to show the database values using same logic, problem is that how to bind that data to html table and how do I assign values to javascript file which I have included in my aspx page.
Any suggestions??
Thanks in advance...
|
|
|
|
|
can anyone tell me what are the differences between setup project and
setup wizard.........?
Thanks in advance,
pavan...
|
|
|
|
|
None - I've never seen a setup program that's not a wizard.
You don't setup an ASP.NET site typically, so why did you ask that here ?
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 have a textbox in the main page and a image control. Onclicking on the image one popup window is opening where there is a calendar control. On double clicking on the date it should come in the textbox of the main page.
How can i do that.
Thanks & Regards
Mishra
|
|
|
|
|
Use javascript function:
On calender Selection changed do this
control.Value = calDate.SelectedDate.ToShortDateString();
Response.Write("<script language='javascript'>window.returnValue='" + calDate.SelectedDate.ToString("dd/MM/yyyy") + "';window.close();</script>");
|
|
|
|
|
PASS TEXT BOX ID TO POPUP WINDOW.
Function calendar(ID)<br />
{<br />
window.open("calendar.aspx?ID="+ID,......,.......,........);<br />
}
NOW IN CALENDAR.ASPX.CS PAGE,WRITE BELOVE CODE TO GET SELECTED DATE ON SELECTIONCHANGED EVENT
protected void Calendar1_SelectionChanged(object sender, EventArgs e)<br />
{<br />
<br />
Response.Write("<script language = javascript>opener.document.getElementById('"+Request.Qeurystring["ID"]+"').value='" + Calendar1.SelectedDate.ToShortDateString() + "'; self.close();</script>");<br />
}
yOU WILL GET SELECTED DATE IN TEXTBOX.
PLZ VOTE IF THIS POST WILL BE HELPFUL
bEST rEGARD
pATHAN
---------------------------------------------------
|
|
|
|
|
Thank you very much, Its working fine.
Thanks & Regards
Mishra
|
|
|
|
|
Imran Khan Pathan wrote: Response.Write("opener.document.getElementById('"+Request.Qeurystring["ID"]+"').value='" + Calendar1.SelectedDate.ToShortDateString() + "'; self.close();");
It isn't good practice to use Response.Write to inject Javascrip code into your ASP.NET web page. Use the functionality exposed by the Page.ClientScript object.
Regards
Paul
|
|
|
|
|
Anyy body tell COM type dll use in asp.net or not
Piyush Vardhan Singh
Senior Software Engineer
TAS NewDelhi
India
|
|
|
|
|
Piyush Vardhan Singh wrote: COM type dll use in asp.net or not
Yes. Sure You can use your COM component in Asp.Net.
Regards,
Abhi
|
|
|
|
|
hey friend
i am adding uccp.dll(com based library) in asp.net
when i new (Public _mUccp As New UCCPLib.UccPlatform()) this dll then error occurred Error:-
Retrieving the COM class factory for component with CLSID {E0AA501C-CAD6-4D93-A5A7-DAF1C0B30F32} failed due to the following error: 80070005.
if i take reference on run time(dynamically)
like this(Dim asas As Assembly = Assembly.LoadFile("C:\Uccp.dll"))
then error occurred
Erroe:-
The module was expected to contain an assembly manifest. (Exception from HRESULT: 0x80131018)
can u help me on this topic please
Piyush Vardhan Singh
Senior Software Engineer
TAS NewDelhi
India
|
|
|
|
|
DID YOU TRY IN GOOGLE.
CHECK OUT lINK1
or
lINK2
bEST rEGARD
pATHAN
-- modified at 0:23 Saturday 22nd September, 2007
---------------------------------------------------
|
|
|
|
|
links are not working
Piyush Vardhan Singh
Senior Software Engineer
TAS NewDelhi
India
|
|
|
|
|
Hi everyone,
can anyone give me a clear picture about the DataBinder.Eval(). i need to know where and how it should be used?? what it is all about???
i tried searching for it in google but couldnt find a clear article.
Kindly help me out
Thanks,
Srikanth
|
|
|
|
|
Sri_3464 wrote: can anyone give me a clear picture about the DataBinder.Eval().
we need to somehow be able to, at render time, determine the value of the data in the databound statement and decide how to alter the output based on the value. Realize that the databinding statement, DataBinder.Eval(Container.DataItem, "ColumnName"), produces a string output based on the value of the particular database column name. The databinding syntax, <%# ... %> simply emits the string produced, much like <%=...%> in classic ASP. Hence, we can create a function that accepts a string (the output of DataBinder.Eval(Container.DataItem, "ColumnName")), examines the string and alters it, if necessary, and then returns the string, which will be emitted by the <%# ... %> syntax.
SSK.
|
|
|
|
|
thanks ssk. i could get something from it. it would be more helpful if you have any link describing it well as you explained now with an example.i got an article from this site but then just want to know if you have anything.
Thanks,
Srikanth
|
|
|
|
|
|
Thank you
Thanks,
Srikanth
|
|
|
|
|
Now i can understand DataBinding.Eval() method clearly. but another doubt araises now. What is that Eval() method. i found in a code where they have used <%# Eval(string value,string value)%>
I can tell you that this method is not what we discussed earlier.
Can you explain me about this????
Thanks,
Srikanth
|
|
|
|
|
Hi everyone,
I am developing a n application with asp.net 2.0 for provide our companys' customer. in home page there is one link like click here to live chat with admin. when user click on that link at that time it open new window and start the server and then client made a connection with the server with .connect method of tcpclient class.
Its good and working file now i want to notify the server when client connect with the server, So server can accept the listner from client so, how can i come to know that some body has made a connection or connected with the server.
I want to pass message from client to server and server to client.
|
|
|
|
|
If you want to keep track of all the connected client sessions, I would use an IInstanceContextProvider to find out when a new connection is made (in PerSession mode), and then use an IInputSessionShutdown to find out when each client disconnects. And by holding onto the channel objects themselves inside your SessionData, you can give the admin app that has access to it the ability to Close() or Abort() the channels.
SSK.
|
|
|
|
|
I have a problem drag and drop with DIV in asp.net.
I have a BOX that there are div{... absolute ... } tag display my graph. when any load page, it display very well,
but when I drag and Drop to other position (Have 16 positions), my graph don't display, it only display after mouse over it.
if you have any suggest, please give.
Thanks you so much
Hepl you, Help me!
|
|
|
|