|
I already explained that you need to post this message in the forum at the end of the article so the author sees it and responds.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
|
author has not yet given me response so i hav posted here
|
|
|
|
|
Then you appear to be sh1t out of luck there fella....
Better try and figure it out yourself by...ooohhh I dunno....doing some work yourself rather than expecting to have everything handed to you on a plate...
C# has already designed away most of the tedium of C++.
|
|
|
|
|
While sending Email through ASP.Net Net Mail component, with SMTP ..you need to use credentials like LoginName and Password , called as SMTP Authentication.
Refer this : href="http://support.microsoft.com/kb/555287
- Happy Coding -
Vishal Vashishta
|
|
|
|
|
hi,
i am doing project on sales purchase system
and i have converted it from 2005 to 2008 then how to edit IIS server file in web.conf
|
|
|
|
|
Hi,
What do you mean exactly by 'IIS server file' and I presume you want to change that in web.config programatically, is not it?
|
|
|
|
|
Explain more what do you want exactly?
|
|
|
|
|
Thank you for your good kind of response .
|
|
|
|
|
you're welcome
|
|
|
|
|
hi,
I would like to know how to give rites to users in my application
lets say users admin,Gold customer,silver customer like that
if admin logged in all my pages visible..Golden user logged in there is limit to access the page...silver user access again limits to access suppose they tried to access message should be "You don't have permit to access"
Can any one help me with this
How to handle asp.net part and SQL
Thank you
|
|
|
|
|
You can create role in membership tables
and assign role to users of your site.
when user logged into system get roles for that user and according to that show pages to that user.
Roles.GetRoles() you can use.
|
|
|
|
|
can anybody plz provide me the code for full chat application in asp.net vb.i m new to asp.net and i require this urgently.plz help
|
|
|
|
|
See here[^]
Failure is not an option; it's the default selection.
|
|
|
|
|
"Request for the permission of type 'System.Net.Mail.SmtpPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
|
|
|
|
|
|
Hi,
I am using ListView, I am able to insert the values, but I want to populate the listview items for editing purpose. I am using EditTemplate. Its opening but coming with all the blank values.
Actually I am diplaying the data in Item Template with Edit and Delete buttons. If once the Edit button is clicked then I have to get which edit button is clicked or some of its information like its key etc. I am using DataKeys property in ListView can I get any information from it?
Can anybody please help me to prepopulate those controls from a collection or entity. thanks in advance for the help.
Thanks,
Abdul
Thanks & Regards,
Abdul Aleem Mohammad
St Louis MO - USA
modified 6-Apr-12 17:50pm.
|
|
|
|
|
|
as you can bind ItemTemplate , same way bind EditTemplate also so during Editing you won't get Blank fields.
|
|
|
|
|
Hi,
Sorry to inform you little late I resolved it. Thanks for your support.
Thanks & Regards,
Abdul Aleem Mohammad
St Louis MO - USA
|
|
|
|
|
Hi
I have list of words in my database. I want to know if there is any way tl rank the words based on its popularity or search rank?
I want to do this using ASP.NET
|
|
|
|
|
jrahma wrote: based on its popularity or search rank?
Whose search-rank? I doubt that Google is actually sharing a database with search-terms, and if they do, you'll probably need a very big harddisk TM.
They are sharing the search-phrases using Google Trends.
Bastard Programmer from Hell
|
|
|
|
|
|
You could just follow the instructions they give, I suppose. Or Google. Or search here. At least show us what you've tried before asking for a solution.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
me, me, me
|
|
|
|
|
<asp:DataList ID="dlCoordinates" runat="server" RepeatColumns="2" Width="730px" OnItemDataBound="dlCoordinates_ItemDataBound"
OnItemCommand="dlCoordinates_ItemCommand">
<ItemTemplate>
<div class="left-block">
<div class="pro-title pink">
Co -ordinate
<%--<%# Eval("ProductName")%>--%>
</div>
<div class="left">
<asp:Image ID="imgCoordinates" runat="server" ImageUrl='<%# "~/Uploads/ThumbImage/"+Eval("BigImage") %>' />
<asp:HiddenField ID="hdnIdProduct" runat="server" Value='<%# Eval("IdProduct") %>' />
</div>
<div class="right">
<div class="block1">
<p>
<span id="spanCoProductDesc" runat="server">
<%# Eval("ProductDesc") %></span></p>
</div>
<div class="block1">
<h3 class="pink">
Click swatch to view colours</h3>
<div id="divCoSwatch" runat="server" class="color-box">
</div>
</div>
<div class="block1">
<h3>
Price: <span id="spanCoProductPrice" runat="server" class="pink">Rs
<%# Eval("Price") %></span></h3>
</div>
<div class="block1">
<asp:DropDownList ID="ddlCoColours" runat="server" CssClass="select-1"
AutoPostBack="true" onselectedindexchanged="ddlCoColours_SelectedIndexChanged">
</asp:DropDownList>
<asp:DropDownList ID="ddlCoSize" runat="server" CssClass="select-2" AutoPostBack="true">
</asp:DropDownList>
<asp:DropDownList ID="ddlCoQuantity" runat="server" CssClass="select-3">
</asp:DropDownList>
<br clear="all" />
<asp:Button ID="btnCoFavorites" runat="server" CssClass="white-buton" Text="Favourites" />
<asp:Button ID="btnCoAddtoBag" runat="server" CssClass="pink-buton" Text="Add to bag" />
</div>
</div>
</div>
</ItemTemplate>
</asp:DataList>
This is my Grid view. Here i am loading the ddlcocolor drop down values in the row databound.
Now my problem is when inside the grid drop down change i want to load next drop down values..
How can i find the controls.
I tried the following concepts :
1.GridViewRow gvr = ((DropDownList)sender).Parent as GridViewRow;
2. GridViewRow gvr = (GridViewRow)(((Control)sender).NamingContainer);
But its returns the null values only.
Please help me.. its very urgent.
With Regards,
Prabhu R
|
|
|
|
|
Hi,
I did it using a trick:
1- I used a HiddenField as one of my Bound fields in the DataList
2- I bound my key column to the HiddenField and to the ToolTip of your first DropDownList
3- I used drp_SelectedIndexChanged handler which is event handler of the first DropDownList to fill the second DropDown.
Here is my sample(the most important parts):
<asp:DataList ID="DataList1" runat="server" DataSourceID="SqlDataSource1"
onselectedindexchanged="DataList1_SelectedIndexChanged" RepeatColumns="5">
<ItemTemplate>
<asp:HiddenField runat="server" ID="hiddenField" Value='<%# Eval("TableSeq") %>' />
<asp:DropDownList runat="server" ID="drp" AutoPostBack="true" ToolTip='<%# Eval("TableSeq") %>'
onselectedindexchanged="drp_SelectedIndexChanged">
<asp:ListItem Value="1">1</asp:ListItem>
<asp:ListItem Value="2">2</asp:ListItem>
</asp:DropDownList>
<br />
<asp:DropDownList ID="drp2" runat="server" Height="16px">
<asp:ListItem Value="5"></asp:ListItem>
<asp:ListItem Value="4">4</asp:ListItem>
</asp:DropDownList>
<br />
</ItemTemplate>
</asp:DataList>
and here is code behind:
protected void drp_SelectedIndexChanged(object sender, EventArgs e)
{
DropDownList drop2 ;
DropDownList drp = (DropDownList)sender;
string key = drp.ToolTip;
foreach (DataListItem item in DataList1.Items)
{
if (((HiddenField)item.FindControl("hiddenField")).Value == key)
{
drop2 = (DropDownList)item.FindControl("drp2");
drop2.Items.Add(new ListItem("X", "X"));
return;
}
}
}
I hope it will help,
Cheers.
|
|
|
|