Showing posts with label drop. Show all posts
Showing posts with label drop. Show all posts

Wednesday, March 28, 2012

Asp.Net Ajax Hosting

I am looking to begin using Asp.Net Ajax on my hosted website. I read on this site that I would have to drop the Ajax dll in the bin folder, and change the trust level to full.

I was wondering If there is a KB article on the ins and out of using Asp.Net Ajax in a hosted enviornment.

Thanks

Hi,

first check if your hosting company already supports ASP.NET AJAX. They just need to install it, by getting the .msi fromhttp://ajax.asp.net/downloads/default.aspx?tabid=47. It's fully supported by Microsoft (the Extensions pack, not the futures!).

Grz, Kris.

Saturday, March 24, 2012

ASP not working inside of Accordian.

I am having an issue I am using an accordian sort of like a popup more options menu. I added some drop down boxes inside an accordian and it displays fine and shows the values. But when I try to build a function to send the drpVariable.SelectedValue is set to null. It seems that the default.aspx.cs does not capture the selected value inside the accordian. Does anyone know a work around this? Below is an example of some of the code

<

cc1:AccordionID="Accordion1"runat="server"AutoSize="Limit"style="z-index: 101; left: 845px; position: relative; top: -349px"Height="370px"Width="134px"><Panes><cc1:AccordionPaneID="dummy"runat="server"></cc1:AccordionPane><cc1:AccordionPaneID="apMsgSearchOptions"runat="server"><Header><ahref=""onclick="return false;">Search Options</a></Header></cc1:AccordionPane><cc1:AccordionPaneID="apMsgAdvancedSearch"runat="server"><Header><ahref=""onclick="return false;">Advanced Search</a></Header><Content><asp:LabelID="lblMsgKeyClient"runat="server"Text="Client"/><br/><asp:TextBoxID="txtMsgKeyClient"Width=45pxEnabled="false"MaxLength="5"runat="server"/><br/><asp:LabelID="lblMsgKeyStartDate"runat="server"Text="Start Date"/><br/><asp:TextBoxID="txtMsgKeyStartDate"Width=45pxEnabled="false"runat="server"/><br/><asp:LabelID="lblMsgKeyEndDate"runat="server"Text="End Date"/><br/><asp:TextBoxID="txtMsgKeyEndDate"Width=45pxEnabled="false"runat="server"/><br/><asp:LabelID="lblMsgKeyMsgCategory"runat="server"Text="Msg Category"/><br/><asp:DropDownListID="drpMsgKeyMsgCategory"runat="server"Width="50px"><asp:ListItemSelected="True"></asp:ListItem><asp:ListItem>A</asp:ListItem><asp:ListItem>B</asp:ListItem><asp:ListItem>C</asp:ListItem><asp:ListItem>D</asp:ListItem><asp:ListItem>E</asp:ListItem><asp:ListItem>F</asp:ListItem><asp:ListItem>Z</asp:ListItem><asp:ListItem>1</asp:ListItem><asp:ListItem>2</asp:ListItem><asp:ListItem>3</asp:ListItem><asp:ListItem>4</asp:ListItem></asp:DropDownList><br/><asp:LabelID="lblMsgKeyMsgType"runat="server"Text="Message Type"/><br/><asp:DropDownListID="drpMsgKeyMsgType"runat="server"Width="75px"><asp:ListItemSelected="True"Value="H">Hour</asp:ListItem><asp:ListItemValue="5">5 Min</asp:ListItem><asp:ListItemValue="1">1 Min</asp:ListItem></asp:DropDownList><br/><asp:LabelID="lblMsgKeyProductCode"runat="server"Text="Product Code"/><br/><asp:DropDownListID="drpMsgKeyProductCode"runat="server"Width="75px"><asp:ListItemSelected="True"></asp:ListItem><asp:ListItem>DMS</asp:ListItem><asp:ListItem>RTDS</asp:ListItem><asp:ListItem>XMLM</asp:ListItem></asp:DropDownList><br/><asp:LabelID="lblMsgKeyRequestType"runat="server"Text="Request Type"/><br/><asp:DropDownListID="drpMsgKeyReqType"runat="server"Width="75px"><asp:ListItemSelected="True"></asp:ListItem><asp:ListItemValue="A">Alpha</asp:ListItem><asp:ListItemValue="E">Event</asp:ListItem><asp:ListItemValue="I">Inquire</asp:ListItem><asp:ListItemValue="M">Maint</asp:ListItem><asp:ListItemValue="P">Publish</asp:ListItem><asp:ListItemValue="-">Error</asp:ListItem></asp:DropDownList><br/></Content></cc1:AccordionPane>

Just an update I added a dropdown reading an XML file... and all the drop down boxes worked then. Can anyone explain why it now works and didnt without when all the dropdown had list items.

Wednesday, March 21, 2012

Asp dot net ajax drag & drop control question...

I have been looking into drag drop. Most of the example I have come across deal with something like pageflakes. What I would like to do is have two Listbox controls. One has all available choices (AllListBox). The other would have current selected choices (PickedListBox). User would be able to select mutiple rows from either ListBox. When user draged rows from PickedListBox to AllListBox, they would be removed from the PickedListBox. When the user draged rows from the AllListBox to the PickedListBox, it would add rows to the PickedListBox.

Has anyone seen any contorls like this, or better yet tutorials on buildign a contorl like this?

http://www.asp.net/AJAX/AjaxControlToolkit/Samples/ReorderList/ReorderList.aspx This is close to what I want. But obviously not close enough.

Thanks,

E-

Look at this

http://www.codeproject.com/dotnet/csdragndrop01.asp

ASP AJAX Control toolkit tags showing up differently

I just installed ASP AJAX Control toolkit into my Visual Studio 2005. When I access the control tool and drag and drop it into my web page, it shows up with a <cc1...> tag instead of a <ajaxToolkit>... tag. The control does not show up in my web page.

Any ideas how to fix it.

Thanks,

Praveen

Its just a option that can be done. It allows for a declaration of the Ajax control. You can change it if you want by going to the top of the page where the assebly is first called which gives you the ability to make cc1 anything you wish. I am just wondering why would you want to change? What is the need to have <ajaxtoolkit> instead of cc1.

It won't make much of a difference and you shall still know that these are ajax extensions.


I thought that the tag being something other than <ajaxtoolkit> was the reason why my web page ignored all the stuff I put in there for making that particular control work. Perhaps I am wrong and the reason why my ajax controls did not work is something else?

Praveen


Thanks Cheetahtech for the solution.

Praveen


so do your ajax controls work?

are we having drag and drop control

Hi,

Iam Mahender.Iam new 2 AjAX.Well recently i doenloaded and installed toolkit ajax and atlas.I want to create a drag and drop facility in my Webpage.it may any control part from panel.For example i took lists.plz help me up in this aspect

Hi,

We dont have any direct control for Drag/Drop functionality.

Beta2 will supports Drag/Drop features to webpart controls.

Please go through below links, you can find more info on that..

http://weblogs.asp.net/scottgu/archive/2006/11/08/ASP.NET-AJAX-1.0-Beta-2-Release.aspx

http://blogs.neudesic.com/blogs/david_barkol/archive/2006/11/07/631.aspx

http://www.neudesic.com/uploads/david_barkol/DNDSafari.jpg

Pradeep Kumar Bura