|
Max0live wrote: I have developed a UI which is fatching more then 20,000 records when page is load
Usually when more number of records are fetched, application will be slow. Why you want to show 20000 records in single page ? It looks like a bad design to me. Each time when page is loaded, are you filling data set from database ? Consider caching the dataset which can improve performance.
|
|
|
|
|
Caching is one way and another is
Just divide your data into bunch
retrive first 100 or 200 records first if and show them to user using paging concept if user wants to see more retrive another bunch from database
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Hi i like to download all my mails ro my system and leave some copy in to id itself,
for example refer this site:
[^]
that guy did that using rebex.net component,
i am using vs2003 so i cant install third party tool in mine,
but i like to achive that,
any possibilities are there?,
plz guide me,
Thanks & Regards,
Mageshh,
please don't forget to vote on the post
|
|
|
|
|
I think I have already given you the possibilities. If you are not allowed to use any third party libraries, look into the POP3 protocol RFC[^] and create a POP3 client for your mail server. A google search[^] given some articles on this.
|
|
|
|
|
I have created in my aspx file an input text html element which doesn't include the runat=server property.
how do I access this control and its methods by the C# codebehind?
Shimi
|
|
|
|
|
Hi Shimi!
Basically,a input text without the attribute runat="server" can not be manipulated at the code behind part but you can only manipulate in the client side code... While on the other hand ASP.NET button with the attribute runat="server" can be manipulated in both client and code behind part. So if you want to use that HTML control at C# codebehind then you must have to put runat="server" tag.
I hope this will help you.
Regards.
"Save water,It's precious"
modified on Thursday, February 07, 2008 12:39:39 AM
|
|
|
|
|
Hi all, I'm trying to figure out how to use the animation extender from the Ajax control toolkit to resize an image on hover.
The image control is defined as follows:
<asp:image id="imgItem" runat="server" bordercolor="Silver" borderwidth="2px" style="position:absolute; z-index:1000;" width="100" height="100" imageurl='<%#"~/GetImage.aspx?imageID=" + ImageID%>' />
The animations extender is defined as follows:
<pre><ajax:animationextender id="AnimationsImage" runat="server" targetcontrolid="imgItem">
<animations>
<onhoverover>
<resize duration=".10" fps="100" width="250" height="250" />
</onhoverover>
<onhoverout>
<resize duration=".10" fps="100" width="100" height="100" />
</onhoverout>
</animations>
</ajax:animationextender></pre>
This works just fine to resize an image, but the images are being retrieved from a database and the height/width ratio and sizes aren't always the same.
I want to see if there's a way to dynamically set the Width and Height values for the Resize OnHoverOver.
I've tried binding the values using width=<%#width%> With the width being declared in the code behind. I shouldn't have an issue obtaining the values to bind to but I get an error as such:
"The 'Animations' property does not allow child objects"
any ideas how to do this?
(BTW, I'm not too familiar with javascript so please give detailed examples if this is what is needed)
Thanks! </asp:image>
modified on Thursday, February 07, 2008 12:13:53 AM
<div class="ForumMod">modified on Thursday, February 07, 2008 12:18:00 AM</div>
|
|
|
|
|
I love Strongly-Typed Datasets. I equally love Repeaters. However, I don't love trying to get data from a parent row from within a Repeater. Why isn't there some sort of databinding control that will let me bind just one record (for example, the parent of the record currently binding in a RepeaterItem) that doesn't provide formatting and such already? I'm looking for something as simple as the Repeater for one item. Can anyone help me?
|
|
|
|
|
When I type in my site all I see is my custom error page
Where do I start? What do I do?
|
|
|
|
|
Disable custom errors so you can see the standard ASP.NET error page. Alternatively, check the Event Log.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
How do I disable the custom error???
|
|
|
|
|
learningman wrote: How do I disable the custom error???
Look for an element in your web.config called customErrors . Set its mode attribute to Off .
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
|
What do the IronSpeed docs say? Have you checked with their tech support? Have you look at any IronSpeed related forums?
only two letters away from being an asset
|
|
|
|
|
I did everything possible and followed every resolution and I cant ask in the forums as I'm running the trail version so I thought someone might have ran into the same problem here cuz I know it's quite popular here and this's where I was recommended to use it.
Thanks for your help mate.
Smile: A curve that can set a lot of things straight!
(\ /)
(O.o)
(><)
|
|
|
|
|
All,
When i run my web page i am getting a client script error like "classfactory cannot supply requested class". Please advise me how to fix this issue..
Thanks in advance
Sebastian
|
|
|
|
|
|
google is not yet broken..... But those results didn't helped me......
Thats why I posted it here....!
Thanks
|
|
|
|
|
This questions is really just out of curiosity. I have an application I'm playing around with at home. Here's how it works. There's a web service that that calls a store procedure on an SQL Server 05 database. There is also a web form with some javascript with the purpose of creating an outlook activex object and creates an new contact.
<br />
var outlookapp = new ActiveXOBject("Outlook.Application")<br />
var newContact = outlookapp.createItem(2)<br />
Is there a way that i can call the web service in say VB, or C# and pass the results into javascript for client side processing ?
|
|
|
|
|
|
sir i want to make a program which can send SMS from my PC to mobile in anywhere in india.
i m using ASP.net+c#. can u help me?? thanks in adv.
yogesh
modified on Thursday, February 07, 2008 4:24:49 AM
|
|
|
|
|
You have to use the Telephone API of windows (TAPI 3.0 is current I thought).
You have to control your modem to be able to send SMS !
(Not leaving my phonenumber here )
|
|
|
|
|
Hi, I setup my listview Selected value to 0, when my page is loaded, i can't get that value to filter a sqldatasource. i try to read it and populate a label and it doesnt work, here is the code. any idea?
<br />
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load<br />
Label1.Text = ListView1.SelectedValue<br />
End Sub
<asp:ListView ID="ListView1" runat="server" DataKeyNames="pid" <br />
DataSourceID="SqlDataSource1" GroupItemCount="3" SelectedIndex="0"><br />
<AlternatingItemTemplate><br />
<td runat="server" style=""><br />
pid:<br />
<asp:Label ID="pidLabel" runat="server" Text='<%# Eval("pid") %>' /><br />
<br /><br />
p_tn:<br />
<asp:Label ID="p_tnLabel" runat="server" Text='<%# Eval("p_tn") %>' /><br />
<br /><br />
</td><br />
</AlternatingItemTemplate><br />
<LayoutTemplate><br />
<table runat="server"><br />
<tr runat="server"><br />
<td runat="server"><br />
<table ID="groupPlaceholderContainer" runat="server" border="0" style=""><br />
<tr ID="groupPlaceholder" runat="server"><br />
</tr><br />
</table><br />
</td><br />
</tr><br />
<tr runat="server"><br />
<td runat="server" style=""><br />
</td><br />
</tr><br />
</table><br />
</LayoutTemplate><br />
<EmptyItemTemplate><br />
<td runat="server" /><br />
</EmptyItemTemplate><br />
<InsertItemTemplate><br />
<td runat="server" style=""><br />
p_tn:<br />
<asp:TextBox ID="p_tnTextBox" runat="server" Text='<%# Bind("p_tn") %>' /><br />
<br /><br />
<asp:Button ID="InsertButton" runat="server" CommandName="Insert" <br />
Text="Insert" /><br />
<br /><br />
<asp:Button ID="CancelButton" runat="server" CommandName="Cancel" <br />
Text="Clear" /><br />
<br /><br />
</td><br />
</InsertItemTemplate><br />
<SelectedItemTemplate><br />
<td runat="server" style="background:red"><br />
pid:<br />
<asp:Label ID="pidLabel" runat="server" Text='<%# Eval("pid") %>' /><br />
<br /><br />
<asp:ImageButton ID="ImageButton1" runat="server" <br />
ImageUrl='<%# "images_prod/"+ Eval("p_tn") %>' CommandName="Select"/><br />
<br /><br />
</td><br />
</SelectedItemTemplate><br />
<GroupTemplate><br />
<tr ID="itemPlaceholderContainer" runat="server"><br />
<td ID="itemPlaceholder" runat="server"><br />
</td><br />
</tr><br />
</GroupTemplate><br />
<EmptyDataTemplate><br />
<table runat="server" style=""><br />
<tr><br />
<td><br />
No data was returned.</td><br />
</tr><br />
</table><br />
</EmptyDataTemplate><br />
<EditItemTemplate><br />
<td runat="server" style=""><br />
pid:<br />
<asp:Label ID="pidLabel1" runat="server" Text='<%# Eval("pid") %>' /><br />
<br /><br />
p_tn:<br />
<asp:TextBox ID="p_tnTextBox" runat="server" Text='<%# Bind("p_tn") %>' /><br />
<br /><br />
<asp:Button ID="UpdateButton" runat="server" CommandName="Update" <br />
Text="Update" /><br />
<br /><br />
<asp:Button ID="CancelButton" runat="server" CommandName="Cancel" <br />
Text="Cancel" /><br />
<br /><br />
</td><br />
</EditItemTemplate><br />
<ItemTemplate><br />
<td runat="server" style=""><br />
pid:<br />
<asp:Label ID="pidLabel" runat="server" Text='<%# Eval("pid") %>' /><br />
<br /><br />
<asp:ImageButton ID="ImageButton1" runat="server" <br />
ImageUrl='<%# "images_prod/"+ Eval("p_tn") %>' CommandName="Select"/><br />
<br /><br />
</td><br />
</ItemTemplate><br />
</asp:ListView>
|
|
|
|
|
I have a treeview in my page and I am using AJAX..
the problem is that when i expands one node, all the nodes are expanded..
works well without ajax
|
|
|
|
|
I have created an MS ACCESS database file, and configured a DSN using ODBC.
To access my database through the ODBC driver, I use the connection string as follows: "Driver={Microsoft Access Driver (*.mdb)};DBQ=c:\MyDb.mdb"
So, what shall be the connection string if I'd like to use the DSN I created.
Mohamed Gouda
Egypt
|
|
|
|