|
Have a look to this Link
Hope it'll help you
|
|
|
|
|
What did you use to search? When I search google for eval databind, at least half of the results on the first page have examples.
|
|
|
|
|
Hi,
I have created a C# ActiveX control and I am trying to access its properties and methods using javascript exactly as described in this mini article http://www.c-sharpcorner.com/UploadFile/dsandor/ActiveXInNet11102005040748AM/ActiveXInNet.aspx
However, I fail to access any properties/methods of the control and the javascript does not display an error msg
Any Ideas? Thank you
And ever has it been that love knows not its own depth until the hour of separation
Mohammad Gdeisat
|
|
|
|
|
Don't spam the forums Pick one and stick with it
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Looks like he posted one here in ASP.NET and one in C#... You have replied as Repost at both the places. Can you please guide where is the original one?
|
|
|
|
|
Can anyone direct me to a GOOD, THOROUGH example of using modal forms in VB.net? I've Googled it but I can't seem to find anything that works. They always seem to leave out some important parts. I'm relatively new to VB.net and I need some real guidance, not just partial snippets.
|
|
|
|
|
|
Hi
I am running a simple, single page asp.net website with four webzones with two user controls within two of those zones. One user control contains a calendar and the other contains an image control.
(This is just an exercise from 70-562 training kit - ASP.NET 3.5)
I am using the asp.net dev server built into VS2008. The first time I run the app the page display fine, but if I close the controls in the page (aka as the end-user might) while the app is running, exit the browser and restart the app, the second and subsequent times the page appears blank. (Refreshing makes no difference.) Even if I close, exit VS and reload the app, it still runs with a blank page from thereon.
The behaviour appeared to be that IE8 is retrieving pages from the cache rather than the response, but I've cleard the cache, etc.
I deleted the project and re-wrote it from scratch and it again ran fine, until I closed the controls when the app was running, so this would seem to indicate a problem that is occuring <i>after</i> the ASPNETDB.MDF database in App_Data folder of the site has been built!?!
Anyone else had this issue?
|
|
|
|
|
need source files for ajax datepicker...
i tried basic date picker but getting error unable to cast 'System.Web.UI.LiteralControl' to 'System.Web.UI.WebControl' ...
|
|
|
|
|
u can also try this by java script , their is lots of java script available in net just Google it.......
|
|
|
|
|
im looking for ajax datepicker...
|
|
|
|
|
I believe the need to AJAXDatepicker will be because you don't want a server side picker!
In that case, as suggested above, pick any client side datepicker. There are few at this very site also.
Further, if you are getting some error with one you have, looks like error is pretty straight forward and you should be able to resolve it. Or is it not your code and you are stuck up?
|
|
|
|
|
|
Hello Guys,
I have a LinkButton in a DataList which displays personID from personOrders table. This field referenced personID from persons table. Now I need to replace the personID here with personName field. How do I go about it?
Thanks for your usual coorporation.
Aweda Akeem B
Software Developer
http://aweklin.net
|
|
|
|
|
can u explain in detail with ur code
hi
|
|
|
|
|
use inner join in your qry and fill your likk like this
<asp:likkbutton id="lnk_name" runat="server" text="<%#Eval("personName ")" %=""> >
SELECT personID , personName
FROM dbo.personOrders INNER JOIN
dbo.persons ON dbo.personOrders.personID = dbo.persons.personID
Hote Thats Help YOu.
|
|
|
|
|
Thanks for your prompt response. I am grateful.
Now if I want to use a button to get the value on the LinkButton, what do I do because I cannot find FindControl method on a DataList.
Thanks for anticipation.
Aweda Akeem B
Software Developer
http://aweklin.net
|
|
|
|
|
u can find linkbutton by this
for (int i = 0; i < DataList1.Items.Count; i++)
{
LinkButton lnkValue = (LinkButton)(DataList1.Items[i].FindControl("lnk_name"));
}
|
|
|
|
|
u can find linkbutton by this
for (int i = 0; i < DataList1.Items.Count; i++)
{
LinkButton lnkValue = (LinkButton)(DataList1.Items[i].FindControl("lnk_name"));
String Val = Convert.ToString(lnkValue .Text);
}
|
|
|
|
|
Infact i am grateful. All your suggestions just worked out for me and I am okay now.
Thanks.
Aweda Akeem B
Software Developer
http://aweklin.net
|
|
|
|
|
Hi,
1. I have a textbox in User control and a button "validate" in aspx page.On click "validation" button it will show message.So how i will give javascript validation.Pls. anybody gives solution of this question.Describe coding simple so that i can understand.
2. I have a textbox and button "validate" in User control.This user control i have called in aspx page.So on click "validation" button it will show message.So how i will give javascript validation.Pls. anybody gives solution of this question.Describe coding simple so that i can understand.
3.How dynamically create page using asp.net ,give me only simple example and where it necessary.
4.How dynamically create user control using asp.net ,give me only simple example and where it necessary.
5.How to create web custom control using asp.net ,give me only simple example and where it necessary.
|
|
|
|
|
|
Member 4021845 wrote: I have a textbox in User control and a button "validate" in aspx page.On click "validation" button it will show message.So how i will give javascript validation.Pls. anybody gives solution of this question.Describe coding simple so that i can understand.
Use ASP.NET validator,assign a groupname to the validator control and assign the same ot validation button.
If you want to do it from JS only, then have a JS function which will check your textbox and show a message or act accordingly
Member 4021845 wrote: 2. I have a textbox and button "validate" in User control.This user control i have called in aspx page.So on click "validation" button it will show message.So how i will give javascript validation.Pls. anybody gives solution of this question.Describe coding simple so that i can understand.
You can also do it in same way as above
Member 4021845 wrote: 3.How dynamically create page using asp.net
Member 4021845 wrote: 4.How dynamically create user control using asp.net
Pls explain bit more
Member 4021845 wrote: 5.How to create web custom control using asp.net ,give me only simple example and where it necessary.
Have a look to the Link
|
|
|
|
|
I have used AutoCompleteExtender, but how can i handle error if there is any error thrown from webservice.
|
|
|
|
|