|
| |||||||||
| Tags: asp net, connection, programming, webpart |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| WebPart Connection in ASP.net
Hello, I am new in Programming and recently I have read one of the article on the WebPart Connection in Asp.net. I am not able to get the concept of it exactly. So, if you are having knowledge about it, then please provide me details about it, so I can able to understand it. So, if you know it, then please reply me. Thank you in advance. |
|
#2
| ||||
| ||||
| Re: WebPart Connection in ASP.net
If you check the elements of the Webpart then you will come to know that, the following are Main Elements of WebPart Connection :
|
|
#3
| ||||
| ||||
| Re: WebPart Connection in ASP.net
If you want to Create Web Part connections then follow the steps below:
|
|
#4
| ||||
| ||||
| Re: WebPart Connection in ASP.net
WebPart Connection in C#.net done as below: Code: public interface Testing
{
string MSG
{
get;
}
} Code: Public Interface Testing ReadOnly Property MSG() As String End Interface |
|
#5
| ||||
| ||||
| Re: WebPart Connection in ASP.net
If you want make connection between the webpart then you must need to follow the steps below:
|
|
#6
| ||||
| ||||
| Re: WebPart Connection in ASP.net
If you want to create a user control in c# then you must need to make use of the following code: Code: <%@ Control Language="C#" ClassName="Provider" %>
<%@ Implements Interface="IMessage" %>
<script runat="server">
[ConnectionProvider("MSG")]
public IMSG GetMSG()
{
return this;
}
public string MSG
{
get
{
return MSGtextbox.Text;
}
}
</script>
<asp:TextBox Runat="server" ID="MSGtextbox" />
<asp:Button Runat="server" ID="btn" Text="Change the Text" /> |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "WebPart Connection in ASP.net" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Tips to optimize your Network Connection and Wireless Connection | Computer_Freak | Tips & Tweaks | 3 | 3 Weeks Ago 08:30 PM |
| VPN Error 5 : No hostname exists for this connection entry. Unable to make VPN connection | Xmen | Networking & Security | 8 | 11-07-2011 08:59 AM |
| only wireless connection and no ethernet connection in network connection | honda91 | Operating Systems | 1 | 06-07-2011 08:43 AM |
| Net connection being lost in windows 7 during Network Connection | Afiq | Networking & Security | 4 | 19-04-2011 08:52 AM |
| Free Laptop With Reliance Connection with a net connection for Rs 1500 | absolute55 | India BroadBand | 5 | 07-03-2009 12:22 AM |