|
Its not so tough?Anybody can do it for you but you have to pay for it.
|
|
|
|
|
Hi
when i press on F5
I am getting the below one
unable to connect to visual studio's localhost web server.
i tried by reinstall the webdev.webserver from
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727..
but
it is saying 'The application failed to intialize properly (0*c0000007b).
Click ok to terminate the application.
Help me out..
|
|
|
|
|
Go to services and Restart SQLServer service. if that does not work, Try system restore. if system restore fails jst patiently reinstall visual studio.
|
|
|
|
|
Abdulhafeezo wrote: Go to services and Restart SQLServer service. if that does not work, Try system restore. if system restore fails jst patiently reinstall visual studio.
Why ?
|
|
|
|
|
|
Unable to Connect to the ASP.Net WebServer or Visual Studio on Localhost
This Link will fix your problem…..
http://softwares-u-need.blogspot.com/2009/10/downloadpage.html
YOUR PROBLEM WILL BE FIXED... I BET
The above link Is MY BLOG
Just do what it says….Please mail me if any questions…
PLZ POST YOUR COMMENT IN THAT BLOG, EVEN IF U HAVE TO ASK ANY THING...
Vibin
|
|
|
|
|
Unable to Connect to the ASP.Net WebServer or Visual Studio on Localhost
This Link will fix your problem…..
http://softwares-u-need.blogspot.com/2009/10/downloadpage.html
YOUR PROBLEM WILL BE FIXED... I BET
The above link Is MY BLOG
Just do what it says….Please mail me if any questions…
PLZ POST YOUR COMMENT IN THAT BLOG, EVEN IF U HAVE TO ASK ANY THING...
Vibin
|
|
|
|
|
Unable to Connect to the ASP.Net WebServer or Visual Studio on Localhost
This Link will fix your problem…..
http://softwares-u-need.blogspot.com/2009/10/downloadpage.html
YOUR PROBLEM WILL BE FIXED... I BET
The above link Is MY BLOG
Just do what it says….Please mail me if any questions…
PLZ POST YOUR COMMENT IN THAT BLOG, EVEN IF U HAVE TO ASK ANY THING...
Vibin
|
|
|
|
|
hi all ... good evening..
how to pass confirm box value to code behind.
Page.RegisterStartupScript("Error", "<script>var agree=confirm('Are you sure you want to delete?')</script>");
if (agree)
{
string service = grid.DataKeys[e.RowIndex].Value.ToString();
StringCollection col = BlogService.LoadPingServices();
col.Remove(service);
BlogService.SavePingServices(col);
BindGrid();
}
else
{
}
This my code. I cant get the value of the confirm box to code behind.Help me..
|
|
|
|
|
This is not how it works.
If you want to pass the value from client side to server, you need to do a post pack or use a webservice do the desired action.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Assign the confirmbox value in some hidden variable and postback the page.and accordingly the confirmbox value update the Grid.
Its better you postback the page when the user only press ok on the confirmbox.if not you need to delete so dont need postback
|
|
|
|
|
Hi
I have a page where i am creating table row and table cell dynamically and adding a control to in it.
It is as below
HtmlTableRow tr = new HtmlTableRow();
HtmlTableCell td = new HtmlTableCell();
tr.ID = "tr" + i.ToString();
tblPerSetngs.Controls.Add(tr);
CheckBox chk = new CheckBox();
chk.ID = "chk" + i.ToString();
chk.Text = dtTechSkills.Rows[i]["SkillName"].ToString();
td.Controls.Add(chk);
tr.Controls.Add(td);
table.Controls.Add(tr);
the control is adding wel and fine. but now i want to set the css style to the table row.
Thanks in advance
Naina
|
|
|
|
|
nainakarri wrote: the control is adding wel and fine. but now i want to set the css style to the table row.
tr.Attributes.Add("class", "classname");
|
|
|
|
|
Amandeep, You have asked me one question on Remote IIS Debugging, Here is your complete Answer.
|
|
|
|
|
Hi All
How I can get the selected node of a treeview.
After That I want to get Value property and Text Property of
Selected node.
The javascript function that I have developed is not working
In this fuction I am trying to get Treeview (TVSectionContentsList). Then its selected node and after that its value and text property.
Please Help me in this matter.
function insertValue() {
FTB_API['<%=FreeTextBox1.ClientID%>'].Focus();
var tv = document.getElementById('<%=
TVSectionContentsList.ClientID%>');
var treeNode = GetSelectedNodeEntity();
var treeNode = tv.getTreeNode(tv.selectedNodeIndex);
var val = treeNode.value;
var txt = treeNode.text;
FTB_API['<%=FreeTextBox1.ClientID%>'].InsertHtml('<span id=' + val + '>' + txt + '</span>');
window.event.returnValue = false;
FTB_API['<%=FreeTextBox1.ClientID%>'].Focus();
}
|
|
|
|
|
Hi to all,
I want to display description like maximum 20 characters in grid column.....i have already used
boundfield of grid to display the field Description.....
i have tried to do it by Itemstyle but its not working....
can any one tell me the soluntion for that........
|
|
|
|
|
Can you show me Binding code?
|
|
|
|
|
ya sure.........this is the code....
<asp:GridView ID="gvMenuCategory" runat="server" AutoGenerateColumns="False" AllowPaging="true"
AllowSorting="true" PageSize="3" CssClass="datatable"
OnPageIndexChanging="gvMenuCategory_PageIndexChanging"
onrowdatabound="gvMenuCategory_RowDataBound">
<HeaderStyle HorizontalAlign="Left" CssClass="head" />
<Columns>
<asp:BoundField HeaderText="Name" DataField="Name" ItemStyle-Width="30%" />
<asp:BoundField HeaderText="Description" ItemStyle-Width="60%" ItemStyle-Wrap="true"
DataField="Description" />
<asp:HyperLinkField Text="Edit" DataNavigateUrlFormatString="/Menu/MenuCategory.aspx?Restaurant&MenuCategoryID={0}"
DataNavigateUrlFields="MenuCategoryID" HeaderText="Edit"></asp:HyperLinkField>
</Columns>
<HeaderStyle BackColor="#6B696B" ForeColor="White" />
</asp:GridView>
hope u will get idea by this..............
|
|
|
|
|
use the itemtemplate instead of BoundField
like this one
<Columns>
<asp:BoundField HeaderText="Name" DataField="Name" ItemStyle-Width="30%" />
<asp:TemplateField >
<ItemTemplate>
<asp:Label id="lblDescription" Text='<%# Eval("Description") %>' />
</ItemTemplate>
</asp:TemplateField>
<asp:HyperLinkField Text="Edit" DataNavigateUrlFormatString="/Menu/MenuCategory.aspx?Restaurant&MenuCategoryID={0}"
DataNavigateUrlFields="MenuCategoryID" HeaderText="Edit"></asp:HyperLinkField>
</Columns>
Then use the RowDataBound event of your gridview
and code the following
protected void gvMenuCategory_RowDataBound(object sender, GridViewRowEventArgs e)
{
string fulldesc="";
if(e.Row.RowType==DataControlRowType.DataRow)
{
DataRowView dr= (DataRowView)e.Row.DataItem;
fulldesc=dr["Description"].ToString();
Label lbldesc = (Label)e.Row.FindControl("lblDescription");
lbldesc.Text = fulldesc.Substring(0, 19);
}
}
Hope this work for you
|
|
|
|
|
thanx for this code.............but before also i have already used that DataRowView but it gives error like
"Unable to cast object of type 'repository of my project' to type 'System.Data.DataRowView'."
though i tried your code but it gives still the same error.........
if u have another solution then please tell me...........i m trying to solve it from 2 days......
thanx
|
|
|
|
|
Send me your HTML, Code behind and also send complete exception that the page is throwing.
|
|
|
|
|
Thanx for yr precious time......but i got the solution of my problem now........
i need to write just 1 line code........in Boundfield of description in grid.........
again very much thanx for showing interest on my Problem........
|
|
|
|
|
and ya if u can help for another problem .........
the problem is i want to bind the static dropdownlist in Grid...
like........in design aspx page.....code is like...
<asp:DropDownList ID="ddlStatus" CssClass="Dropdown" runat="server">
<asp:ListItem Text="Available" Value="1"></asp:ListItem>
<asp:ListItem Text="Seasonal" Value="2"></asp:ListItem>
<asp:ListItem Text="Closed" Value="3"></asp:ListItem>
</asp:DropDownList>
now i wan to display text item in the grid that is "Available","Seasonal","Closed"...
how can i display that item in grid......
if u know then give the solution...it will be helpful to me.........
|
|
|
|
|
and ya the status is integer in the database.....ok
so i have that kind of problem.........otherwise it will be done by this...
ddlStatus.selecteditem.text right?
|
|
|
|
|
Hi Guys,
I am using MasterPage in VisualStudio2008.
Master page and content pages are working fine.
There are one problem is on header of Masterpage.
There are 5 flash buttons. Like HOME, PRODUCTS, DOWNLOADS etc...
When I am on home page this Flash Button [HOME] color is changing but when I am clicking PRODUCTS or any other flash button then this PRODUCTS button color is not changing its still changing HOME button color.
Page is redirecting but header buttons color is not changing.
Please let me know where I am wrong.
Thanks
|
|
|
|