Click here to Skip to main content
15,885,546 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: i want to rotate images using ajax animation control Pin
Christian Graus15-Apr-08 21:04
protectorChristian Graus15-Apr-08 21:04 
GeneralGetting Error while uploading file using Fileupload control Pin
Satish - Developer15-Apr-08 19:46
Satish - Developer15-Apr-08 19:46 
GeneralRe: Getting Error while uploading file using Fileupload control Pin
N a v a n e e t h15-Apr-08 20:48
N a v a n e e t h15-Apr-08 20:48 
GeneralHello Friends Pin
ArunVijay15-Apr-08 19:41
ArunVijay15-Apr-08 19:41 
GeneralRe: Hello Friends Pin
N a v a n e e t h15-Apr-08 20:50
N a v a n e e t h15-Apr-08 20:50 
GeneralSame Session in different IE windows Pin
AlexeiXX315-Apr-08 19:03
AlexeiXX315-Apr-08 19:03 
GeneralRe: Same Session in different IE windows Pin
N a v a n e e t h15-Apr-08 21:02
N a v a n e e t h15-Apr-08 21:02 
Generalproblem with getting SELECTED VALUE of parent dropdownlist to target dropdownlist using cascading Pin
mohd imran abdul aziz15-Apr-08 18:16
mohd imran abdul aziz15-Apr-08 18:16 
Hi All,
I am using C# , asp.net2.0 , Ajax1.0
i am filling dropdownlist using cascading ajax extender. i taken help of ajax site and build a code to fill the control.
my question is how do i get parent selected item value. my web service code to fill target value
<code> public CascadingDropDownNameValue[] GetProd(string knownCategoryValues , string category)
{
StringDictionary kv = CascadingDropDown.ParseKnownCategoryValuesString(knownCategoryValues);
//string subgrp ;
//int sub1;
//if (!kv.ContainsKey("Prod") || !Int32.TryParse(kv["Prod"], out sub1))
//// if (!kv.ContainsKey("Prod"))
//{
// return null;
//}

DsprdTableAdapters.SPGETPRODUCT_GIVENSUBTableAdapter prd = new DsprdTableAdapters.SPGETPRODUCT_GIVENSUBTableAdapter();
Dsprd.SPGETPRODUCT_GIVENSUBDataTable prdgrp = prd.GetProd(kv["Prod"]);
List&lt;CascadingDropDownNameValue&gt; values = new List&lt;CascadingDropDownNameValue&gt;();
foreach (DataRow dr in prdgrp)
{
values.Add(new CascadingDropDownNameValue((string)dr["PM_PRD_NAME"], dr["PM_PRD_CODE"].ToString()));
}
return values.ToArray();
}
</code>
This is giving me no out put as kv["Prod"] is showing null value.
Cascading code in aspx is
<code>&lt;ajaxToolkit:CascadingDropDown ID="cddPROD"
runat="server"
TargetControlID="Ddlproduct"
ParentControlID="Ddlsubdiv"
Category="Prod"
PromptText="Choose a Product...."
LoadingText="Please wait ..."
ServicePath="../Prod.asmx"
ServiceMethod="GetProd" /&gt;
Please Suggest
</code>

regards
imran khan
GeneralPassing parameters to another page from GridView Pin
Ekjon15-Apr-08 12:08
Ekjon15-Apr-08 12:08 
GeneralRe: Passing parameters to another page from GridView Pin
AlexeiXX315-Apr-08 16:08
AlexeiXX315-Apr-08 16:08 
QuestionRuntime Error after publishing aspx page!!! Pin
Phivos Stylianides15-Apr-08 9:49
Phivos Stylianides15-Apr-08 9:49 
GeneralRe: Runtime Error after publishing aspx page!!! Pin
pmarfleet15-Apr-08 11:48
pmarfleet15-Apr-08 11:48 
GeneralRe: Solution To Solve By ArunVijay Pin
ArunVijay15-Apr-08 20:02
ArunVijay15-Apr-08 20:02 
GeneralRe: Runtime Error after publishing aspx page!!! Pin
ArunVijay15-Apr-08 20:06
ArunVijay15-Apr-08 20:06 
GeneralRe: Runtime Error after publishing aspx page!!! Pin
Phivos Stylianides16-Apr-08 12:56
Phivos Stylianides16-Apr-08 12:56 
GeneralRe: Runtime Error after publishing aspx page!!! Pin
Phivos Stylianides16-Apr-08 12:56
Phivos Stylianides16-Apr-08 12:56 
GeneralMaster Page weirdness Pin
#realJSOP15-Apr-08 8:46
mve#realJSOP15-Apr-08 8:46 
GeneralRe: Master Page weirdness Pin
Herman<T>.Instance16-Apr-08 0:30
Herman<T>.Instance16-Apr-08 0:30 
QuestionGet records between Today and 2 years from input date Pin
munklefish15-Apr-08 7:49
munklefish15-Apr-08 7:49 
GeneralRe: Get records between Today and 2 years from input date [modified] Pin
Blue_Boy15-Apr-08 11:28
Blue_Boy15-Apr-08 11:28 
QuestionRe: Get records between Today and 2 years from input date Pin
munklefish15-Apr-08 23:45
munklefish15-Apr-08 23:45 
GeneralRe: Get records between Today and 2 years from input date Pin
Blue_Boy16-Apr-08 0:22
Blue_Boy16-Apr-08 0:22 
GeneralRe: Get records between Today and 2 years from input date Pin
munklefish16-Apr-08 1:06
munklefish16-Apr-08 1:06 
GeneralRe: Get records between Today and 2 years from input date Pin
Blue_Boy16-Apr-08 4:13
Blue_Boy16-Apr-08 4:13 
GeneralRe: Get records between Today and 2 years from input date Pin
munklefish16-Apr-08 4:52
munklefish16-Apr-08 4:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.