Re: dynamic Filter ( Using multiple drop down list)
Hello Wim, I really appreciate your respond. I am completely stuck. I am providing you my source code and if you please please tell where I could make changes to make it works. I would really...
View ArticleRe: dynamic Filter ( Using multiple drop down list)
So if I understand you correctly, you basically want a dynamic where clause in your stored procedure. Something likewhere campaign ='mycampaign' and (segment='seg1' or segment='seg1=2' or ...... or...
View ArticleRe: dynamic Filter ( Using multiple drop down list)
The problem is that, there are two drop down list. One of them is to choose a single campaign and the second one populate segments based on the campaign that has been selected. This is done...
View ArticleRe: dynamic Filter ( Using multiple drop down list)
Hi Montadar,Montadar I was be able to filter on a single selection and pass the parameter to stored procedure. The problem is that I cant make it where I want to do multiple selection on drop down list...
View Articledynamic Filter ( Using multiple drop down list)
I have created a filter which drop down list. I was be able to filter on a single selection and pass the parameter to stored procedure. The problem is that I cant make it where I want to do multiple...
View ArticleRe: dynamic Filter ( Using multiple drop down list)
Did you create the function to split the string on the SQL server that I described and did you modify the stored procedure as I described to make use of the function to split the incoming...
View ArticleRe: dynamic Filter ( Using multiple drop down list)
Ok. This code is not crashing anymore but data is not populated anymore. Here is the code string s = "@segment = "; //string @segment = ""; // get selected segments int[] selectedsegments =...
View ArticleRe: dynamic Filter ( Using multiple drop down list)
This code is not crashing anymore but it is not generating data anymore. string s = "@segment = "; //string @segment = ""; // get selected segments int[] selectedsegments =...
View ArticleRe: dynamic Filter ( Using multiple drop down list)
Good morning Wim,I hope that I am not confusing. I am not trying to say your original piece of code is not working. I am debugging the code and I am visually seeing the code is crashing. I am...
View ArticleRe: dynamic Filter ( Using multiple drop down list)
Montadar Ok. after I analyzed the issue. it was not because of DataSet dataSet = null; an error was due to the parameters that are passing from the code behind to the stored procedure do not match....
View ArticleRe: dynamic Filter ( Using multiple drop down list)
Montadar do you have any idea how to change the declaration of (@segment varchar(50) = null ) to accept single or multiple values that are passing from code behind. See one of my earlier replies...
View ArticleRe: dynamic Filter ( Using multiple drop down list)
now when I pass segment A,segment B. it gives an error message saying that "lbSegments' has a SelectedValue which is invalid because it does not exist in the list of items.\r\nParameter name: value"}...
View ArticleRe: dynamic Filter ( Using multiple drop down list)
Ok. after I analyzed the issue. it was not because of DataSet dataSet = null; an error was due to the parameters that are passing from the code behind to the stored procedure do not match. stored...
View ArticleRe: dynamic Filter ( Using multiple drop down list)
catch (Exception exception) { // Wim, it catches the error hereNo, it does not; It catches AN error there.protected bool GetData(DateTime start, DateTime end, string campaign) { ... ... /**/ DataSet...
View ArticleRe: dynamic Filter ( Using multiple drop down list)
ListBox is working now on interface and I was able to pass the values from interface to code behind but I am getting error when I am trying to filter on the data even on a single selection. I am...
View ArticleRe: dynamic Filter ( Using multiple drop down list)
Thank you very much Wim. I was out for two days. I am going to do the suggestions that you provided and I will let you know.
View ArticleRe: dynamic Filter ( Using multiple drop down list)
This should give you the idea for using a listbox instead of a dropdownlistMarkup based on yours<table id="tblCampaignList" border="0" cellpadding="3" class="auto-style2"><tr><td...
View ArticleRe: dynamic Filter ( Using multiple drop down list)
I uploaded two images to give a big picture about what I am doing. Campaign drop down list is to choose specific campaign then once I choose it the segment filter or drop down list will populate based...
View ArticleRe: dynamic Filter ( Using multiple drop down list)
I really appreciate your help. I really tried hard to modify my SP to boxlist or checkboxlist but I didnt get it right. Please if you have time tomorrow to help I would greatly appreciate it. Here is...
View ArticleRe: dynamic Filter ( Using multiple drop down list)
As I don't have any idea what you're trying to do in your SP, I will try to explain it in broader terms. One of the parameters of your SP is the segment. Instead of passing a single segment name , the...
View Article