|
hi friends i want to draw rectangle in asp.net ..in middle of the form..but is not getting..plzzzzzzz help me...
|
|
|
|
|
It has nothing to do with ASP.Net.
Its a simple HTML task. w3schools [^]is a great place to start learning HTML.
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.
|
|
|
|
|
Hi. I want to implement the xml feed from Twitter on my site, but I can't get it working.
I think the problem is related to the XPath, because the datalist doesn’t show any entries at all.
MidText is btw just a function that crops the text to a certain amount of characters, and replaces some characters if necessary.
Any suggestions on what I’m doing wrong would be most appreciated.
<asp:XmlDataSource ID="XmlDataSourceTwitter" XPath="/feed/entry[position() < 9]"
runat="server" DataFile="http://search.twitter.com/search.atom?lang=no&q=mysearch">
</asp:XmlDataSource>
<asp:DataList ID="TwitterFeed" runat="server" DataSourceID="XmlDataSourceTwitter">
<ItemTemplate>
<%#(DateTime.Parse(XPath("published").ToString())).ToString("d", new System.Globalization.CultureInfo("nb-NO", true))%>
<%#MidText(XPath("title").ToString(), 0, 55)%>
</ItemTemplate>
</asp:DataList>
modified on Friday, July 3, 2009 2:27 PM
|
|
|
|
|
well your XPath is broken for sure. do you know anything about XPath ? XPath("//published") may work. The // forces it to search all sub nodes.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
Hi,
I want to display a text, getting from database, into a DropdownList using text property.
My Code::
SqlDataReader drd;
if (drd.Read())
{
drpcompname.Text = drd.GetValue(0).ToString();
}
But It Display an error::
'drpcompname' has a SelectedValue which is invalid because it does not exist in the list of items.
Parameter name: value
Please help me.
Thanks!
Pankaj Singh
|
|
|
|
|
You should use databinding
ddl.DataTextField = "...";
ddl.DataValueField = "...";
ddl.DataSource = drd;
ddl.DataBind();
only two letters away from being an asset
|
|
|
|
|
|
Muruvet Kaplan wrote: can i use solr in windows application project
This is ASP.Net forum. How is it related to it?
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.
|
|
|
|
|
hi,
solr search engine is developed from lucene.net(library for windows applications) search engine but it is for asp.net applications. i want to learn whether it can be used in windows application or not.
mkn
|
|
|
|
|
Then go ask at Lucene, not here. Don't ask us to do your work
only two letters away from being an asset
|
|
|
|
|
Hi
Let me know the detailed information about statemanagement..
Provide me the best Site Link...with some good examples...
Thanks in advance..
|
|
|
|
|
katarukoti wrote: Let me know the detailed information about statemanagement..
I googled and found these [^]many articles.
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.
|
|
|
|
|
|
Yes, but what about setting?
Thanks & Regards:
Himanshu Thawait
|
|
|
|
|
|
Whats the benefit of the Microsoft.Practices.EnterpriseLibrary?
and whats the demerits of these DLL's is this secure more than simple database connectivity
Please help me Thanks..
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
Eventure Technology
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
Piyush Vardhan Singh wrote: Whats the benefit of the Microsoft.Practices.EnterpriseLibrary?
Enterprise Libarary is a collection of Wrapper around the usual .Net classes.
This allows you to do by writting less piece of code, as many of the core/basic functionalities are handled by EL itself.
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.
|
|
|
|
|
if we are useing EnterpriseLibrary(data base) and not properly close all the object then it create possibility of mummery likes Problem. or effect on the website process and speed.
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
Eventure Technology
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
Piyush Vardhan Singh wrote: not properly close all the object
Have you experienced this?
If you look through the source you can see heavy usage of using statements and implementation of the disposable pattern. If you are experiencing problems with open connections or objects not being disposed it is more likely to be caused by your code than the Enterprise Library.
only two letters away from being an asset
|
|
|
|
|
Manas Bhardwaj wrote: Wrapper around the usual .Net classes.
It is far from a "wrapper" around .NET classes
only two letters away from being an asset
|
|
|
|
|
"The Microsoft Enterprise Library is a collection of reusable software components (application blocks) designed to assist software developers with common enterprise development challenges." http://www.codeplex.com/entlib[^]
As it says, EntLib provides a package of code that covers common scenarios, like exception handling, logging, data access, etc. so you don't have to write it.
only two letters away from being an asset
|
|
|
|
|
It means when your project doesn't work, you can blame Microsoft's practices, not your own
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
Hi,
I am creating a website using visual studio 2008 with framework 3.0 using vb.net,
In my page i have a textbox for which i have written server side textchanged event and the textbox is in updatepanel. In this event i am doing some calculations and setting focus to another textbox.
The Problem is that although it sets the focus to another textbox but does not allow me to type anything there. Cursor blinks in that textbox but i cannot type anything in it.
If anyone can pls tell me what am i doing wrong here and what is the solution for this.
Thanks,
|
|
|
|
|
hozsam wrote: In my page i have a textbox for which i have written server side textchanged event and the textbox is in updatepanel. In this event i am doing some calculations and setting focus to another textbox
You your self answer your question.
As soon as you type in the textbox, the TextChanged event gets fired and the focus is set to another textbox.
I am not sure what you want to achieve by doing this. May be someone can help you if elobrate the scenario.
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.
|
|
|
|
|
oh sorry i think the entire message did not appear....
In my page i have a textbox for which i have written server side textchanged event and the textbox is in updatepanel. In this event i am doing some calculations and setting focus to another textbox.
Although focus is set on another textbox, i am unable to type anything there. The cursor blinks there but it does not allow me to type anything in it.
So if anyone can tell me what can be the problem. I am trying to find this out since a week but no help yet. pls if anyone can tell me what can be the problem and what is the solution to it.
|
|
|
|