i




 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Show pop up window like flash in asp.net
09-06-2011, 10:02 AM
Post: #1
Not Solved Show pop up window like flash in asp.net
hi..
i want to show pop up window like flash.

i.e)i have URL's in my gridwiew. if i clicked the url means i want to open that URL in a pop up window that window should be like flash pop up window.

how to achieve this..

need ur suggestions with examples.


regards
gopal.s


Quote
09-06-2011, 10:07 AM
Post: #2
Not Solved RE: Show pop up window like flash in asp.net
Did you checked jquery popups.


Thanks and Regards
Raju
Quote
09-06-2011, 10:09 AM
Post: #3
Not Solved RE: Show pop up window like flash in asp.net
you can perform this with jquery, here is an example
http://www.queness.com/resources/html/mo...indow.html

just access the source code, and you will get how can we implement it on anchor tag.

[Image: 2604595733.png]
Quote
09-06-2011, 10:48 AM
Post: #4
Not Solved RE: Show pop up window like flash in asp.net
hi nisar..
thanks for ur reply..

i want to display the different URL from gridview after clicking the button in side grid "view Details".
so how to pass the disfferent url to the flash pop up..

need ur suggestions
regards
gopal.s
Quote
09-06-2011, 10:51 AM
Post: #5
Not Solved RE: Show pop up window like flash in asp.net
hi raju.. thanks for ur reply..

no i havnot checked with jquery..

how to do this..

provide some examples..

regards
gopal.s
Quote
09-06-2011, 11:02 AM
Post: #6
Not Solved RE: Show pop up window like flash in asp.net
can you post the gridview code?

[Image: 2604595733.png]
Quote
09-06-2011, 11:07 AM
Post: #7
Not Solved RE: Show pop up window like flash in asp.net
Now can't give any link to ref. I didn't get any working Envionment in my new office. Do I am in mobile. Do please excuse me.
Now jquery overriding flash in all sence. It's simple,more documented and get lot of resources from Google. Please Google it and prefer which jquery popup is apt for you. Don't forget to check output with different browsers..
Cheers mate..


Thanks and Regards
Raju
Quote
09-06-2011, 02:31 PM
Post: #8
Not Solved RE: Show pop up window like flash in asp.net
hi nisar..

this is my code:

List<Products> oProductsEbookDetails = Products.GetEbookProductDetails();
if (oProductsEbookDetails!=null)
{
if (oProductsEbookDetails.Count > 0)
{


grdview.DataSource = oProductsEbookDetails;
grdview.DataBind();
}
}

-------------------------------
my gridview:
<asp:GridView ID="grdview" runat="server" SkinID="AdminGrid" AllowPaging="True"
PageSize="20" OnPageIndexChanging="grdLocationReport_PageIndexChanging">
<Columns>
<asp:TemplateField HeaderText="Content Name">
<ItemTemplate>
<asp:Label ID="lblTitleName_Page" runat="server"></asp:Label>
<asp:Label ID="lblTitleID" runat="server" Text='<%#Bind("Id") %>' Visible="false"></asp:Label>
</ItemTemplate>

</asp:TemplateField>
<asp:TemplateField HeaderText="Content">
<ItemTemplate>
<asp:Label ID="lblContentName" runat="server" Text='<%#Bind("Title") %>'></asp:Label>
</ItemTemplate>

</asp:TemplateField>
<asp:TemplateField HeaderText="Chart">
<ItemTemplate>
<asp:Label ID="lblUrl" runat="server" Visible="false" Text='<%#Bind("URL") %>'></asp:Label>
<asp:LinkButton ID="link_select" runat="server" OnClick="link_select_Click">View Details</asp:LinkButton>
</ItemTemplate>

</asp:TemplateField>
</Columns>
</asp:GridView>


----------------------------

protected void link_select_Click(object sender, EventArgs e)
{
try
{
LinkButton lnk = sender as LinkButton;
GridViewRow r = (GridViewRow)lnk.NamingContainer;


string lblTitleID = ((Label)r.FindControl("lblTitleID")).Text.ToString();
string lblUrl= ((Label)r.FindControl("lblUrl")).Text.ToString();
ifrmStreaming.Attributes.Add("src", lblTrackUrl);
}
catch (Exception ex)
{
throw ex;
}
}

-------------------------

so this is my code and all..
how to get the pop up window after clicking view details inside grid view button..

(and i am using master page. so the page is in master page )
need ur suggestions with examples.

regards
gopal.s
Quote
09-06-2011, 10:24 PM
Post: #9
Not Solved RE: Show pop up window like flash in asp.net
did you tried this one
http://www.asp.net/ajaxlibrary/AjaxContr...popup.aspx
http://www.codeproject.com/KB/aspnet/Usi...oltip.aspx


Thanks and Regards
Raju
Quote


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  How to register the library flash for C# 2005 ? dongtrien 0 2,245 04-22-2015 03:48 AM
Last Post: dongtrien
  How do I create a pop up window in ASPX.CS? Iunknown 2 1,162 06-18-2013 08:46 AM
Last Post: magnum_2007
  Show a xaml page in a pop up gopal_nivas 0 1,396 05-11-2012 06:13 AM
Last Post: gopal_nivas
  Different Model pop up in asp.net gopal_nivas 3 3,593 04-18-2012 12:36 PM
Last Post: nisar87
  How to Show Image in Asp.Net? rajesh9147 1 1,989 01-30-2012 06:43 AM
Last Post: nisar87



User(s) browsing this thread: 1 Guest(s)