|
In the ASP.NET 2.0, you will need to use the @ Reference[^] directive to link to the type of the web user control so that you can access its custom members. Another option is that you can define the custom properties in an interface or a base class and have the web user control implement the interface or inherit from the base class, then you can cast the runtime object to the interface/baseclass.
|
|
|
|
|
Turns out it was a little pequliarity between some asp.net 1.1 and asp.net 2.0 features. I was linking the codebehind file to the aspx page using Src attribute so i didnt have to go compiling the classes all the time but it doesnt seem to like that. Where as if i use the asp.net 2.0 CodeFile attribute which i just found out about then it all works just fine.
Thanks for you help anyway.
|
|
|
|
|
Hi Friends,
I have created some web services. I added them using my local IIS.
Now I want to upload it to my domaing hosting server.
I dont know the proceduere.I cppied my all folders there, now i am trying to add those services into my project using visual studion add web references.
I am connected to internet.
visual studio is not finding those services.
This is first time i have developed web services and trying to develop.
If some one could help me how it will work I would be obliged.
thanks
Naveed Kamboh
|
|
|
|
|
Can you browse manually to the webservices (on your ISP's server) by putting the .asmx url into a web browser?
|
|
|
|
|
Yes I can see file via direct access.
Naveed Kamboh
|
|
|
|
|
Thanks dear,
Its working now.
I didn't think like that.
Cheers
Naveed Kamboh
|
|
|
|
|
Sir,
What are Secured Socket Layers .I want to implement it in the project.(an online project).
Please help.
Thanks
Can i get a code project link in vb.net 1.1 with asp.net that uses the Secure Sockets Layer (SSL)?
|
|
|
|
|
|
Sir,
Thanks for ur kind attention.But the link u gave is displaying the message that The page u requested does not exist.
|
|
|
|
|
Hi,
Please Open it by the link with new window.
With Regards
Satips
|
|
|
|
|
Plz Help.
How can I put asp.net control output HTML into a string variable (or string builder).
|
|
|
|
|
You can call the Control.RenderControl method of the control to get the output html markup of that control, then you can put it in a string variable in the way you want.
|
|
|
|
|
I have two textboxes in which in one box i'll type text in english,other textbox will have converted text according to selected language(ex:Hindi).
And if i click the My Search button,Google Search Engine should search that hindi word in their Google Search and displays the Searched text in Hindi Language.
Sathiyaraj Ganesan
|
|
|
|
|
i want to enable one of the security setting in Custum Level of Trusted Site zone in IE.How can we do it programatically.
|
|
|
|
|
As in change the security from your web page? Not easily. Being able to change a users security setting from your web page would constitute a major hole in IE security. You would need to write and sign an ActiveX control to do this, and even then, it would not be trivial. Alternatively, you would write an windows executable to do this and allow your users to download and run the .exe to adjust their security settings needed to work with your web app.
|
|
|
|
|
Thanks jim but can u please tell me what code will sort out my problem
|
|
|
|
|
Hi,
Google is there.
With Regards
Satips
|
|
|
|
|
|
Hi.I have this error while executing Response.Redirect("page.aspx").Any ideas?
"page.aspx" exists.
Thank you
|
|
|
|
|
Hi,
First try to catch the Exception.
catch(System.threading.threadabortexception page1)
{
Console.Writeline(page1.Message);
}
Happy Coding
With Regards
Satips
|
|
|
|
|
As per MSDN documentation Redirect calls End which raises a ThreadAbortException exception upon completion.
Try using Response.Redirect("page.aspx", false)
only two letters away from being an asset
|
|
|
|
|
Hell all
in a DataSet i am storing 2 tables of data.
by using DataView.RowFilter I want to retrieve from the matched rows from the
2 tables? Here i know the procedure to rowfilter from one table.
but in case of filtering from Two DataTables How to do this?,
How to write the RowFilter Expression?
regards
GV Ramana
|
|
|
|
|
As you know that the DataView allows you creating a view of data stored in a table, in the case of two or more tables you can set up a relation between the tables and create a child view to filter the child table.
Navigating Relationships Using a DataView [^]
|
|
|
|
|
hi,
i want to read all the text files in a folder one by one. i want to know how to give the path as the text file name keeps on changing.
like 1.txt,2.txt.....
c:\datas\1.txt how to change the txt name dynamically
|
|
|
|
|
String files[] = Directory.GetFiles(@"C:\My Directory", "*.txt", SearchOption.AllDirectories);
the above will return all the files in the given directory as string of array
|
|
|
|