Click here to Skip to main content
15,896,606 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: want invisiable window open thorugh javascript. Pin
Sandeep Akhare6-Oct-08 1:00
Sandeep Akhare6-Oct-08 1:00 
AnswerRe: want invisiable window open thorugh javascript. Pin
Abhijit Jana6-Oct-08 1:14
professionalAbhijit Jana6-Oct-08 1:14 
GeneralRe: want invisiable window open thorugh javascript. Pin
J4amieC6-Oct-08 2:08
J4amieC6-Oct-08 2:08 
QuestionHow can I solve "Object Referance not set to an instance of an object" error problem? Pin
JUNEYT6-Oct-08 0:27
JUNEYT6-Oct-08 0:27 
AnswerRe: How can I solve "Object Referance not set to an instance of an object" error problem? Pin
eyeseetee6-Oct-08 0:54
eyeseetee6-Oct-08 0:54 
GeneralRe: How can I solve "Object Referance not set to an instance of an object" error problem? Pin
JUNEYT6-Oct-08 1:10
JUNEYT6-Oct-08 1:10 
AnswerRe: How can I solve "Object Referance not set to an instance of an object" error problem? Pin
Jaffer Mumtaz6-Oct-08 2:33
Jaffer Mumtaz6-Oct-08 2:33 
GeneralRe: How can I solve "Object Referance not set to an instance of an object" error problem? Pin
JUNEYT6-Oct-08 4:47
JUNEYT6-Oct-08 4:47 
Hi Jaffer,

The problem is dropdownboxes are not bind to any dataobjects. I was aimed to populate these boxes in runtime. However if I bind them to an objectdatasource, I am not able to define an event eg. (Dropdownbox_Clicked) because they are inside of th Formview control.

Therefore, I decided not to bind them and I don't use formview now. However now I am facing to another issue, How I am giong to assign their values as inputparameter to objectdatasource insert event below.

Here is the code sample. All I need to pass 5 doprdownboxes selectedvalue arguments to below procedure as inputparameters. When I click a button, these paramaters must be carried to following procedure.

<br />
    Private Sub ObjectDataSource1_Inserting(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.ObjectDataSourceMethodEventArgs) Handles ObjectDataSource1.Inserting<br />
<br />
        Dim ParamsFromPage As IDictionary = e.InputParameters<br />
<br />
        Dim NewObj As New property_availability(0, 0, 0, 0, "")<br />
<br />
        NewObj.Getyear = Int32.Parse(ParamsFromPage("GetYear")).ToString<br />
        NewObj.GetMonth = Int32.Parse(ParamsFromPage("GetMonth")).ToString<br />
        NewObj.GetDayFrom = Int32.Parse(ParamsFromPage("GetDayFrom")).ToString<br />
        NewObj.GetDayTo = Int32.Parse(ParamsFromPage("GetDayTo")).ToString<br />
        NewObj.GetStatus = ParamsFromPage("GetStatus").ToString<br />
<br />
        ParamsFromPage.Clear()<br />
<br />
        ParamsFromPage.Add("GetYear", NewObj.Getyear)<br />
        ParamsFromPage.Add("GetMonth", NewObj.GetMonth)<br />
        ParamsFromPage.Add("GetDayFrom", NewObj.GetDayFrom)<br />
        ParamsFromPage.Add("GetDayTo", NewObj.GetDayTo)<br />
        ParamsFromPage.Add("GetStatus", NewObj.GetStatus)<br />
<br />
    End Sub<br />
<br />



What a curious mind needs to discover knowledge is noting else than a pin-hole.


GeneralRe: How can I solve "Object Referance not set to an instance of an object" error problem? Pin
AlexeiXX36-Oct-08 5:03
AlexeiXX36-Oct-08 5:03 
GeneralRe: How can I solve "Object Referance not set to an instance of an object" error problem? Pin
JUNEYT6-Oct-08 5:28
JUNEYT6-Oct-08 5:28 
GeneralRe: How can I solve "Object Referance not set to an instance of an object" error problem? Pin
AlexeiXX36-Oct-08 8:50
AlexeiXX36-Oct-08 8:50 
GeneralRe: How can I solve "Object Referance not set to an instance of an object" error problem? Pin
JUNEYT6-Oct-08 9:05
JUNEYT6-Oct-08 9:05 
GeneralRe: How can I solve "Object Referance not set to an instance of an object" error problem? Pin
AlexeiXX36-Oct-08 9:15
AlexeiXX36-Oct-08 9:15 
GeneralRe: How can I solve "Object Referance not set to an instance of an object" error problem? Pin
JUNEYT6-Oct-08 11:15
JUNEYT6-Oct-08 11:15 
AnswerRe: How can I solve "Object Referance not set to an instance of an object" error problem? Pin
ToddHileHoffer6-Oct-08 3:01
ToddHileHoffer6-Oct-08 3:01 
QuestionDoes .Net Framwork needed? Pin
Pedram Behroozi6-Oct-08 0:13
Pedram Behroozi6-Oct-08 0:13 
AnswerRe: Does .Net Framwork needed? Pin
J4amieC6-Oct-08 0:14
J4amieC6-Oct-08 0:14 
GeneralRe: Does .Net Framwork needed? Pin
Pedram Behroozi6-Oct-08 0:18
Pedram Behroozi6-Oct-08 0:18 
GeneralRe: Good Tutorial Pin
eyeseetee6-Oct-08 0:21
eyeseetee6-Oct-08 0:21 
AnswerRe: Does .Net Framwork needed? Pin
bagla6-Oct-08 2:09
bagla6-Oct-08 2:09 
GeneralRe: Does .Net Framwork needed? Pin
N a v a n e e t h6-Oct-08 2:28
N a v a n e e t h6-Oct-08 2:28 
GeneralRe: Does .Net Framwork needed? Pin
Pedram Behroozi6-Oct-08 2:58
Pedram Behroozi6-Oct-08 2:58 
GeneralRe: Does .Net Framwork needed? Pin
J4amieC6-Oct-08 4:20
J4amieC6-Oct-08 4:20 
GeneralRe: Does .Net Framwork needed? Pin
Pedram Behroozi6-Oct-08 4:31
Pedram Behroozi6-Oct-08 4:31 
QuestionWhat about other OSs? Pin
Pedram Behroozi6-Oct-08 8:54
Pedram Behroozi6-Oct-08 8:54 

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.