Forms Data Controls :: Smart DropDownList / Develop A Smart Dropdown List For An Inhouse Application?
Jun 11, 2010
I need a develop a smart dropdown list for an inhouse application
Let assume, i have a dropdownlist with the following values:
ABC
EDF
XYZ
A123
B456
Now when the user types A in the drpdownlist (we can type anything onthe dropdownlist, but we can superimpose a textbox on it), the dropdwn list should sort itself and show only ABC and A123.
View 20 Replies
Similar Messages:
May 27, 2010
Any one now when VS2010 will be able to develope to smart devices?
View 1 Replies
Jan 23, 2010
I am trying to create a smart search for a specific column in a database. the column is a short text (title of an article), so I am looking for a search that will ignores the order of the words, and mispelling mistakes. the search must returns the search results order by rellevance, and the seach is not in english, so the FREETEXT that search by meanning won't work here.
I created already a search SQL, but it is not wide range enough and won't except mispelling.
[Code]....
Even if there is a ready to use tool that doing so, it can be helpfull, although I am not sure that for such a simple text a tool is requiered.
View 1 Replies
Mar 16, 2010
I have an application where I make advanced engineering/science calculations.
The application consists of 25 equal calculation "lines" which I have made as user controls:
web form:
Code:
[code]....
However the performance is quite bad because each line load from a database. Each line becomes visible when the last line has been clicked so I only need in fact 2 lines to be loaded at the beginning.
Can I make a smart code where the next user controls loads instead of the HTML that I have made, where all 25 lines appears and loads but are not visible until the line before has been used?
View 14 Replies
Apr 19, 2010
I am working on a web app that displays customer orders.When the app runs in IE 8, some of my transaction ID and invoice numbers are getting converted into a graphic. When you hover of it, It says to "click here to call this Skype number in Namibia". In Firefox, it displays correctly.Here is a screen shot:This app is going to be used by external customers, so I don't have control over their browser settings. I need to programmatically prevent it, somehow.Is there any code I can put into my web form to prevent third party DLLs from doing this?Is this related to IE 8 or is something that Skype is doing?
View 2 Replies
Feb 8, 2010
I have quite a few web applications using Ajax that have been working for a while. I migrated from a machine running Vista to a new machine running Windows 7 64 bit. I reinstalled VS2008 and also installed
ASP.NET Ajax Library 0911 Beta. The old controls using Ajax extenders are still working fine and their smart tags show up with the option of "Remove Extender..." . However, when I add new controls, their smart tags are disabled (grayed). If I remove the extender from an old control, its smart tag will disappear.
View 1 Replies
Jan 11, 2010
I need to get rid of Microsoft smart quotes in my code behind page. I'm sure this is simple, but its new to me.
View 7 Replies
Jan 23, 2011
I just downloaded AjaxControlToolkit and followed [URL] to install it. Then I tried to follow [URL] to learn how to use the toolkit. But no matter what I do I'm stuck at adding an Extender. I added a ScriptManager and a button to the page as instructed but when I click on the button, there is no smart tag ("Show Smart Tag" is disabled"). I thought it might be the button so I tried Calendar and all I get is the "Auto Format" smart tag.
Microsoft Visual Studio 2008
Version 9.0.30729.4462 QFE
Microsoft .NET Framework
Version 3.5 SP1
View 3 Replies
Jan 9, 2010
My asp.net application send Invitation emails and conformation emails , i want to create one component that handle sending mails and be flexible to use HTML templates for the emails and this emails will contain links for invitation or confirmation can someone tell me how i can design this compoenet
View 1 Replies
Apr 29, 2010
I have been trying to solve this issue for a while, but no solution till now.
I try to reinstall it but still , the smart tag are not showing up and when I right click it, it is grayed out.
Anyone, with a solution to solve this issue. I am using asp.net 3.5, visual studio 2008
View 2 Replies
Apr 23, 2010
so theoretically, i have multiple companies using my application, and each company has multiple users. Now data is stored in a sql database and certain parts of it are changed enough whereby it has to be "reselected" by every user after a specific amount of time. ill call this the "highly dynamic data." (I already sorted out the 'users by company' effeciently with a cluster index in the companyID column for the tables)
lets say that each session will "check" if it has to be updated every 15 seconds. How will it check? If someone submitted a change to the "highly dynamic data" in the sql database then they will also submit the "time of change" to an .xml database. Moreover, each session has a "last updated" session variable. The session that submitted the change will update his "last updated" session variable at the time of the sql update. However, all other sessions will have out dated "last updated" session variables. and every 15 seconds each session checks the xml database to see if their "last update" is current. If it is not current then it does the sql database update, else, it does nothing..is this a good mechanism for efficient updating? The goal is to keep the sql database as free as possible and reduce strain on the server?
edit: oh yeah, how would i implement the timing factor here? firstly, i assume the 15 second counter shouldnt be concurrent with all other users, otherwise the server would be a cluster-f*** every 15 seconds so how would i incorporate some randomness for each session?
View 4 Replies
Sep 16, 2010
I installed VS 08. and then installed Ajax extensions 1.0. I also downloaded ajax control toolkit and added to my toolbox. And I placed scriptmanager on the designer. Now when I am trying to add functionality to standard button via smart tag option. I see this option disabled. how can I enable it and have extenders in play.
View 2 Replies
Oct 31, 2010
I am trying to search inside a database in a column named 'Title'.
I tried the fulltext searching but this is just not good enough.
How can I do a smart search for non-english languages inside one column?
View 5 Replies
Apr 15, 2010
Im seriously looking into obfuscation for my ASP.net.Is there anyone here that obfuscates their code? if so what do you use? Im looking at 2 finalists in my research - SmartAssembly and Dotfuscator
So far all I have found is bad points about Dotfuscator - is there anyone here that can save this company's rep?So far they have been rude, their product is hard to use, the documentation is bad, and the support is poor not to mention that they are expensive!Is there anyone that can raise a voice to say "hey they arnt all that bad"?has anyone used Smart Assembly? they seem to be the way to go - but i dont know if its just advertising hype...
View 12 Replies
Nov 2, 2011
Using VB 2008 and AjaxControlToolkit, when right clicking a control, the smart tag option is always greyed out.
Is this a bug in 2008 or something related to using the Ajax controls?
View 1 Replies
Oct 8, 2010
I am working on a smart device project and want to run on emulator.i have completed the application.but now i want to run it on Emulator in vs2008.
View 1 Replies
Feb 18, 2010
I am running vs2010, added the ajax toolkit. I can get form control to drag onto forms and run (ie the editor) but cannot get calender extender to work. I manually added it to the code. set the target id. No calender when ran. But the smarttag will appear on the textbox with the only option of remove extender. Why are the smart tags not working. The show smart tag option is disabled on the right click context menu of the textbox.
View 3 Replies
Apr 22, 2010
If I have a asp.net site for desktop, what should I do to enable smart phones ?By mistake I added a / to the URL and I noticed that the desktop web site was simple, no buttons, just URL links set to a side.
View 2 Replies
Jun 26, 2010
I am using VS2008. When I tried to implement AJAX to my application, I couldn't get the smart tag for the Required Field Validator in the webform. I need it to implement 'ValidatorCalloutExtender' (AJAX) control in my application.
View 1 Replies
Jan 11, 2011
I am going to develop new application in asp.net .But I want to create business/data access layer in such a way that I can reuse it in any other interface (Smart Phones,php etc).how can I achieve this ?I need to create project architect according to that.
View 2 Replies
Jan 13, 2011
I mainly do C# ASP.NET projects in VS2010. Once you've put masterpages and other things in place, I find the design view pretty much goes grey and elements can't be selected. This isn't so bad except that sometimes you need to access the little 'smart tags' at the top right of controls to do things.
In particular I'm trying to do this with some telerik controls, though the issue isn't confined to them.
Anyone have a handy tip to access this functionality (or miraculously make design view work!) ?
PS. I read in a few places that Shift-Alt-F10 may help. I tried putting my cursor in the control's tag and using it, no luck. Also I clicked the little rectangle below design view to select the control and tried it again- no luck.
View 1 Replies
Nov 15, 2010
I need to connect to a web service using a X509Certificate. I got it working with all the Certificates in the user store using:
X509Store store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
View 1 Replies
Aug 27, 2010
I have many controls on my form, but in particular, I have 2 dropdownlists. 1 dropdown list has 2 values, and each value controls what the second dropdownlist displays. This is an edititemtemplate and both dropdowns have the selecteditem set via '<%# Bind("fieldname") #>' on page load.
THe problem is, if I change the value of the first dropdown, it errors out because the second dropdwon has a bound value that is no longer acceptable.
Can I cancel the bind of the second control, if the the first one is changed? I would like to cancel the bind, and update the values by using a different datasource depending on the value of the first dropdown or hardcode the new values.
If Dropdown1 has a value of "A" for example Dropdown 2 Shows Values "1", "2", "3"
If Dropdown 1 has a value of "B" , Dropdown2 Shows Values "4", "5", "6".
It binds fine initially, but if I change Dropdown1 from A to B, I want Dropdown2 to show the new values, maybe with a default of "Select an Item" and not error out b/c it's attempts to bind a value of 1, 2, or 3.
View 8 Replies
Mar 31, 2011
I'm new to developing mobile apps and have hit a brick wall. I use Web Services all the time so I know I have created it correctly and it works. The issue is that i cant seem to add it to my class or form in the Smart Device Project.
When I right click I get the option to add Web Reference, I then navigate to the url and add as I normally would. When I then try to access the service I cant seem to navigat to it from code and it is not available. I have also tried adding a Web Service directly by 'Add New Item, but this file type is not available in the list of installed templates.
View 2 Replies
Oct 10, 2010
I am stuck at this point "Displaying a dropdown list of Categories with a --None -- Option. I want the gridview control to display 2 dropdown list one in read-only mode and the other in edit mode. When a record is in read-only mode, the dropdownlist's enabled property will be set to false."When it's on a read-only mode, it doesn't display the selected Category. it shows but the "No Category". When i click on edit to edit or change category, it doesn't display the selected category.
The example is given below( I am reading the book Sams Teach yourself ASP.NET 2.0 by Scott Mitchell. page 628)
<asp:Label ID="UserIdValue" runat="server" Visible="False"></asp:Label>
<asp:SqlDataSource ID="picturesDataSource" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT * FROM [Pictures] WHERE ([UserId] = @UserId) ORDER BY [UploadedOn] DESC"
DeleteCommand="DELETE FROM [Pictures] WHERE [PictureID] = @PictureID"
InsertCommand="INSERT INTO [Pictures] ([UserId], [CategoryID], [Title], [Description], [UploadedOn]) VALUES (@UserId, @CategoryID, @Title, @Description, @UploadedOn)"
UpdateCommand="UPDATE [Pictures] SET [UserId] = @UserId, [CategoryID] = @CategoryID, [Title] = @Title, [Description] = @Description, [UploadedOn] = @UploadedOn WHERE [PictureID] = @PictureID">
<DeleteParameters>
<asp:Parameter Name="PictureID" Type="Int32" />
</DeleteParameters>
<InsertParameters>
<asp:Parameter Name="UserId" />
<asp:Parameter Name="CategoryID" Type="Int32" />
<asp:Parameter Name="Title" Type="String" />
<asp:Parameter Name="Description" Type="String" />
<asp:Parameter Name="UploadedOn" Type="DateTime" />
</InsertParameters>
<SelectParameters>
<asp:ControlParameter ControlID="UserIdValue" Name="UserId" PropertyName="Text"/>
</SelectParameters>
<UpdateParameters>
<asp:Parameter Name="UserId"/>
<asp:Parameter Name="CategoryID" Type="Int32" />
<asp:Parameter Name="Title" Type="String" />
<asp:Parameter Name="Description" Type="String" />
<asp:Parameter Name="UploadedOn" Type="DateTime" />
<asp:Parameter Name="PictureID" Type="Int32" />
</UpdateParameters>
</asp:SqlDataSource>
<br />
<asp:SqlDataSource ID="categoriesDataSource" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT [CategoryID], [Name] FROM [Categories] WHERE ([UserId] = @UserId)">
<SelectParameters>
<asp:ControlParameter ControlID="UserIdValue" Name="UserId" PropertyName="Text" />
</SelectParameters>
</asp:SqlDataSource>
<br />
<asp:SqlDataSource ID="maxPictureIDDataSource" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>" SelectCommand="SELECT MAX(PictureID)
FROM Pictures
WHERE UserId = @UserId">
<SelectParameters>
<asp:ControlParameter ControlID="UserIdValue" Name="UserId"
PropertyName="Text" />
</SelectParameters>
</asp:SqlDataSource>
<br />
<asp:Label ID="cannotUploadImageMessage" runat="server"
Text="The photo could not be added to your album either because you did not specify a file to upload or the file specified was not a JPEG image with the file extension .JPG"></asp:Label>
<br />
<asp:DetailsView ID="dvPictureInsert" runat="server"
DataSourceID="PicturesDataSource" Height="50px" Width="125px"
AutoGenerateRows="False" CellPadding="4" DataKeyNames="PictureID"
DefaultMode="Insert" ForeColor="#333333" GridLines="None">
<AlternatingRowStyle BackColor="White" />
<CommandRowStyle BackColor="#D1DDF1" Font-Bold="True" />
<EditRowStyle BackColor="#2461BF" />
<FieldHeaderStyle BackColor="#DEE8F5" Font-Bold="True" />
<Fields>
<asp:TemplateField HeaderText="Picture">
<InsertItemTemplate>
<asp:FileUpload ID="imageUpload" runat="server" />
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server"
ControlToValidate="imageUpload" Display="Dynamic"
ErrorMessage="There was no file selected" ValidationGroup="PictureAdd"></asp:RequiredFieldValidator>
</InsertItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Category" SortExpression="CategoryID">
<EditItemTemplate>
<asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("CategoryID") %>'></asp:TextBox>
</EditItemTemplate>
<InsertItemTemplate>
<asp:DropDownList ID="pictureCategory" DataSourceID="categoriesDataSource"
runat="server" DataTextField="Name" DataValueField="CategoryID"
SelectedValue='<%# Bind("CategoryID") %>'
Visible='<%# Bind("CategoryID") %>' AppendDataBoundItems="True">
<asp:ListItem Selected="True" Value="">-- Select Category --</asp:ListItem>
</asp:DropDownList>
</InsertItemTemplate>
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# Bind("CategoryID") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Title" SortExpression="Title">
<EditItemTemplate>
<asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("Title") %>'></asp:TextBox>
</EditItemTemplate>
<InsertItemTemplate>
<asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("Title") %>'></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
ControlToValidate="TextBox1" Display="Dynamic"
ErrorMessage="you must provide a name for the title"
ValidationGroup="PictureAdd"></asp:RequiredFieldValidator>
</InsertItemTemplate>
<ItemTemplate>
<asp:Label ID="Label2" runat="server" Text='<%# Bind("Title") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Description" SortExpression="Description">
<EditItemTemplate>
<asp:TextBox ID="TextBox3" runat="server" Text='<%# Bind("Description") %>'></asp:TextBox>
</EditItemTemplate>
<InsertItemTemplate>
<asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("Description") %>'
View 2 Replies